From 96c25152de77b25a512b2af4658fcd5c3dab4f69 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 19 Dec 2022 10:08:50 -0600 Subject: [PATCH] CMake: do not trigger install during make test --- tests/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5a26ee7da6..0a33d87cdc 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -168,11 +168,14 @@ if(DEFINED DEAL_II_HAVE_TESTS_DIRECTORY) COMMENT "Running quicktests..." ) - # Depend on the library target to ensure that deal.II is actually - # compiled, as well as on the setup_tests_quick_tests target to ensure + # Depend on the library targets (to ensure that deal.II is actually + # compiled), as well as on the setup_tests_quick_tests target to ensure # that quick tests are actually available. - add_dependencies(test library) add_dependencies(test setup_tests_quick_tests) + foreach(_build ${DEAL_II_BUILD_TYPES}) + string(TOLOWER ${_build} _build_lowercase) + add_dependencies(test ${DEAL_II_NAMESPACE}_${_build_lowercase}) + endforeach() # # Add a dummy target to make files known to IDEs like qtcreator -- 2.39.5