From ada5e5d04aaf766b9a88f72a53d0d9c3a62dc69d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 17 Aug 2015 09:39:41 -0500 Subject: [PATCH] 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. --- tests/sharedtria/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5