From 0bbe7d668add2465fc6e33e2832020f4752d24a1 Mon Sep 17 00:00:00 2001 From: mdavis36 Date: Mon, 30 Sep 2024 10:40:16 -0700 Subject: [PATCH] Fixing CMake tests merge issue. --- cmake/SetupSpheral.cmake | 1 - tests/CMakeLists.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/SetupSpheral.cmake b/cmake/SetupSpheral.cmake index 99ee8ab78..5aa1fccc1 100644 --- a/cmake/SetupSpheral.cmake +++ b/cmake/SetupSpheral.cmake @@ -166,7 +166,6 @@ endif() #------------------------------------------------------------------------------- if (ENABLE_TESTS) add_subdirectory(${SPHERAL_ROOT_DIR}/tests) - add_subdirectory(${SPHERAL_ROOT_DIR}/tests/unit/CXXTests) # A macro to preserve directory structure when installing files macro(install_with_directory) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 66ff6d23d..b71a1f74c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,2 +1,3 @@ add_subdirectory(cpp/Field) add_subdirectory(cpp/Utilities) +add_subdirectory(unit)