From: Matthias Maier Date: Thu, 29 Aug 2013 02:42:51 +0000 (+0000) Subject: CMake: Bugfix. Check for debug/release versions _before_ removing them... X-Git-Tag: v8.1.0~570^2~399 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=400cb5c225609f8b8740775092350ebe1a58019f;p=dealii.git CMake: Bugfix. Check for debug/release versions _before_ removing them... git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30523 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake b/deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake index a998030039..6df6a0eb3a 100644 --- a/deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake +++ b/deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake @@ -33,7 +33,7 @@ MACRO(DEAL_II_PICKUP_TESTS) IF( "${DEAL_II_PICKUP_REGEX}" STREQUAL "" OR _test MATCHES "${DEAL_II_PICKUP_REGEX}" ) - GET_FILENAME_COMPONENT(_test ${_test} NAME_WE) + GET_FILENAME_COMPONENT(_test ${_test} NAME) IF(_test MATCHES debug) SET(_configuration DEBUG) @@ -49,4 +49,3 @@ MACRO(DEAL_II_PICKUP_TESTS) ENDFOREACH() -ENDMACRO()