From e48c9f09ed59f6a28551c7ad1d510f9020ab5e13 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 16 Jul 2014 21:44:43 +0000 Subject: [PATCH] CMake: The obligatory bugfix... git-svn-id: https://svn.dealii.org/trunk@33186 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/tests/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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}) -- 2.39.5