From 80bc374a211d322f4de89f982b80c64a2e9060ce Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 23 Mar 2015 14:29:58 +0100 Subject: [PATCH] Testsuite: Bugfix Do not accidentally set _pickup_test to true --- tests/macro_pickup_tests.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/macro_pickup_tests.cmake b/tests/macro_pickup_tests.cmake index f6d6d58414..3d4b1c109d 100644 --- a/tests/macro_pickup_tests.cmake +++ b/tests/macro_pickup_tests.cmake @@ -109,7 +109,9 @@ The feature \"DEAL_II_${_feature}\" does not exist.\n" STRING(REGEX MATCH "([0-9]+(\\.[0-9]+)*)$" _version ${_match}) IF(NOT "${_version}" STREQUAL "") - SET(_define_test ${DEAL_II_WITH_${_feature}}) + IF(NOT ${DEAL_II_WITH_${_feature}}) + SET(_define_test FALSE) + ENDIF() IF("${DEAL_II_${_feature}_VERSION}" VERSION_LESS "${_version}") SET(_define_test FALSE) -- 2.39.5