From: maier Date: Thu, 3 Oct 2013 21:32:19 +0000 (+0000) Subject: Bugfix: Remove obsolete code X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da0bf9180288e92da1af0f2984c616fcf998012c;p=dealii-svn.git Bugfix: Remove obsolete code git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31106 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index dd27363bac..f62f2843a0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -34,28 +34,14 @@ IF(NOT "${CMAKE_PROJECT_NAME}" STREQUAL "deal.II") ENDIF() SET(_options) -IF("${CMAKE_PROJECT_NAME}" STREQUAL "deal.II") - # - # Setup for the case that this folder is included as a subfolder in a - # deal.II project: - # - - # Write a minimalistic CTestTestfile.cmake file to CMAKE_BINARY_DIR: - FILE(WRITE ${CMAKE_BINARY_DIR}/CTestTestfile.cmake - "SUBDIRS(tests)" - ) - - LIST(APPEND _options -DDEAL_II_SOURCE_DIR=${CMAKE_SOURCE_DIR}) - LIST(APPEND _options -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR}) - -ELSE() - # - # Set up a top level test suite project: - # +# Write a minimalistic CTestTestfile.cmake file to CMAKE_BINARY_DIR: +FILE(WRITE ${CMAKE_BINARY_DIR}/CTestTestfile.cmake + "SUBDIRS(tests)" + ) - SET(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}) -ENDIF() +LIST(APPEND _options -DDEAL_II_SOURCE_DIR=${CMAKE_SOURCE_DIR}) +LIST(APPEND _options -DDEAL_II_BINARY_DIR=${CMAKE_BINARY_DIR}) # # Pass all relevant "TEST_" variables down to the subprojects: