From f07c4349c0ed86db67345bd67ca4ede496a483d1 Mon Sep 17 00:00:00 2001 From: maier Date: Sun, 6 Oct 2013 19:41:34 +0000 Subject: [PATCH] Bugfix: build_tests should be recompiled if the underlying library changes... git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31153 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/build_tests/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/build_tests/CMakeLists.txt b/tests/build_tests/CMakeLists.txt index 382b3b38f1..a83326b4a2 100644 --- a/tests/build_tests/CMakeLists.txt +++ b/tests/build_tests/CMakeLists.txt @@ -16,6 +16,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) INCLUDE(${TEST_DIR}/cmake/setup_testsuite.cmake) +PROJECT(testsuite CXX) +INCLUDE(${DEAL_II_TARGET_CONFIG}) # # build_tests tests are special: @@ -76,8 +78,11 @@ FOREACH(_step_full ${_steps}) ADD_CUSTOM_COMMAND(OUTPUT ${_step_dir}/CMakeLists.txt COMMAND ${CMAKE_COMMAND} -E make_directory ${_step_dir} ${_command} - DEPENDS ${_files} - ) + DEPENDS + ${_files} + ${DEAL_II_TARGET_DEBUG} + ${DEAL_II_TARGET_RELEASE} + ) # And a rule on how to configure the example step: ADD_CUSTOM_COMMAND(OUTPUT ${_step_dir}/configure_output -- 2.39.5