From: Matthias Maier Date: Mon, 23 Mar 2015 13:29:58 +0000 (+0100) Subject: Testsuite: Bugfix X-Git-Tag: v8.3.0-rc1~363^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80bc374a211d322f4de89f982b80c64a2e9060ce;p=dealii.git Testsuite: Bugfix Do not accidentally set _pickup_test to true --- 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)