From 77b4056ec7aefe4422537bd4974978f4eca4f2e7 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 16 Sep 2013 15:50:47 +0000 Subject: [PATCH] Bugfix: Be way more restrictive in what to pass down to the subprojects git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30730 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ab44c9dd0d..326911ffce 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -65,13 +65,15 @@ IF(DEAL_II_WITH_UMFPACK) ENDIF() # -# Pass all variables starting with "TEST_" down to the subprojects: +# Pass all relevant "TEST_" variables down to the subprojects: # GET_CMAKE_PROPERTY(_variables VARIABLES) SET(_options) FOREACH(_var ${_variables}) - IF(_var MATCHES "^TEST_") + IF(_var MATCHES + "^(TEST_DIR|TEST_DIFF|TEST_TIME_LIMIT|TEST_PICKUP_REGEX|NUMDIFF_DIR)$" + ) LIST(APPEND _options -D${_var}="${${_var}}") ENDIF() ENDFOREACH() -- 2.39.5