spack/var/spack/repos/builtin/packages/exago/exago-1.1.0.patch
Cameron Rutherford c673b9245c
exago: Add v1.2.0 and patches for builds without python or tests. (#41350)
Co-authored-by: Satish Balay <balay@mcs.anl.gov>
2023-12-12 10:17:26 -06:00

22 lines
417 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d0e8ed18..3225509c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -366,10 +366,13 @@ else()
endif()
endif()
-include(ExaGOCheckPython)
if(EXAGO_ENABLE_PYTHON)
+ include(ExaGOCheckPython)
add_subdirectory(interfaces/python)
endif()
-# Build tests
-add_subdirectory(tests)
+if(EXAGO_RUN_TESTS)
+ # Build tests
+ add_subdirectory(tests)
+endif()
+