From: maier Date: Thu, 29 Aug 2013 02:42:51 +0000 (+0000) Subject: CMake: Bugfix. Check for debug/release versions _before_ removing them... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98760341d53e446d091d88406ec9d27bc2486f95;p=dealii-svn.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()