From: Matthias Maier Date: Wed, 16 Jul 2014 21:44:43 +0000 (+0000) Subject: CMake: The obligatory bugfix... X-Git-Tag: v8.2.0-rc1~287 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48c9f09ed59f6a28551c7ad1d510f9020ab5e13;p=dealii.git CMake: The obligatory bugfix... git-svn-id: https://svn.dealii.org/trunk@33186 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/tests/CMakeLists.txt b/deal.II/tests/CMakeLists.txt index 764d688f01..56711611e5 100644 --- a/deal.II/tests/CMakeLists.txt +++ b/deal.II/tests/CMakeLists.txt @@ -113,16 +113,16 @@ FOREACH(_category ${_categories}) ADD_CUSTOM_TARGET(regen_tests_${_category} COMMAND - test ! -f ${CMAKE_BINARY_DIR}/tests/${_category} || ${CMAKE_COMMAND} - --build ${CMAKE_BINARY_DIR}/${_category} --target regenerate + test ! -d ${CMAKE_BINARY_DIR}/tests/${_category} || ${CMAKE_COMMAND} + --build ${CMAKE_BINARY_DIR}/tests/${_category} --target regenerate COMMENT "Processing tests/${_category}" ) ADD_DEPENDENCIES(regen_tests regen_tests_${_category}) ADD_CUSTOM_TARGET(clean_tests_${_category} COMMAND - test ! -f ${CMAKE_BINARY_DIR}/tests/${_category} || ${CMAKE_COMMAND} - --build ${CMAKE_BINARY_DIR}/${_category} --target clean + test ! -d ${CMAKE_BINARY_DIR}/tests/${_category} || ${CMAKE_COMMAND} + --build ${CMAKE_BINARY_DIR}/tests/${_category} --target clean COMMENT "Processing tests/${_category}" ) ADD_DEPENDENCIES(clean_tests clean_tests_${_category})