From: Wolfgang Bangerth Date: Mon, 17 Aug 2015 14:39:41 +0000 (-0500) Subject: Fix path to cmake file. X-Git-Tag: v8.4.0-rc2~596^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ada5e5d04aaf766b9a88f72a53d0d9c3a62dc69d;p=dealii.git Fix path to cmake file. The current path leads to a failure on my system when calling 'ninja setup_tests': FAILED: cd /node/bangerth/trunk/build/tests/sharedtria && /w/bangerth/share/software/cmake-2.8.12.2/bin/cmake -GNinja -DDEAL_II_DIR=/node/bangerth/trunk/build -UDIFF_DIR -UNUMDIFF_DIR -UTEST_PICKUP_REGEX -UTEST_TIME_LIMIT /node/bangerth/trunk/dealii/tests/sharedtria > /dev/null CMake Error at CMakeLists.txt:2 (INCLUDE): include could not find load file: ../tests/setup_testsubproject.cmake CMake Error at CMakeLists.txt:4 (INCLUDE): include called with wrong number of arguments. Include only takes one file. Fix this by providing the same path as in the tests/distributed directory. --- diff --git a/tests/sharedtria/CMakeLists.txt b/tests/sharedtria/CMakeLists.txt index 0b20ef4e0b..663b1da70c 100644 --- a/tests/sharedtria/CMakeLists.txt +++ b/tests/sharedtria/CMakeLists.txt @@ -1,5 +1,5 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9) -INCLUDE(${DEAL_II_SOURCE_DIR}/tests/setup_testsubproject.cmake) +INCLUDE(../setup_testsubproject.cmake) PROJECT(testsuite CXX) INCLUDE(${DEAL_II_TARGET_CONFIG}) DEAL_II_PICKUP_TESTS()