diff --git a/CMakeLists.txt b/CMakeLists.txt index 855386fcaa1aa2513c559fbf010513f1c17bb643..26aa08a84595f0baebad2e1f0c53202c97c5c6c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,10 @@ cmake_minimum_required(VERSION 3.1) project(dune-xt-functions CXX) if(NOT (dune-common_DIR OR dune-common_ROOT OR "${CMAKE_PREFIX_PATH}" MATCHES ".*dune-common.*")) - string(REPLACE ${CMAKE_PROJECT_NAME} dune-common dune-common_DIR ${PROJECT_BINARY_DIR}) + string(REPLACE ${CMAKE_PROJECT_NAME} + dune-common + dune-common_DIR + ${PROJECT_BINARY_DIR}) endif() # dune-common diff --git a/cmake/modules/DuneXtFunctionsMacros.cmake b/cmake/modules/DuneXtFunctionsMacros.cmake index f50616529f490b663a23b7c333586454fa0dbf79..ed46ded9ad9b033d4194832d5f5b6063920d8ead 100644 --- a/cmake/modules/DuneXtFunctionsMacros.cmake +++ b/cmake/modules/DuneXtFunctionsMacros.cmake @@ -12,4 +12,3 @@ # # File for module specific CMake tests. # ~~~ - diff --git a/dune/xt/CMakeLists.txt b/dune/xt/CMakeLists.txt index 9bdc14c02effa7a914d8b65c3cfd395e91e7af43..eb16f4ad69911b506a814c4cfdb80ca41c83b8a2 100644 --- a/dune/xt/CMakeLists.txt +++ b/dune/xt/CMakeLists.txt @@ -13,4 +13,3 @@ # ~~~ add_subdirectory(functions) - diff --git a/dune/xt/functions/CMakeLists.txt b/dune/xt/functions/CMakeLists.txt index 9065193d89b17f020fb0ea131909ec4c609e97fd..89e1700391c7d03b347313d856de1703ffab8a27 100644 --- a/dune/xt/functions/CMakeLists.txt +++ b/dune/xt/functions/CMakeLists.txt @@ -39,4 +39,3 @@ endif() dune_library_add_sources(dunextfunctions SOURCES ${lib_dune_xt_functions_sources}) add_subdirectory(test EXCLUDE_FROM_ALL) - diff --git a/dune/xt/functions/test/CMakeLists.txt b/dune/xt/functions/test/CMakeLists.txt index 291c1c7131f064f1742e52669cdd2fea2b8cfdfa..ddbb08a3101899ff5b5dfafba6e3832911d7967f 100644 --- a/dune/xt/functions/test/CMakeLists.txt +++ b/dune/xt/functions/test/CMakeLists.txt @@ -34,4 +34,3 @@ foreach(test ${dxt_test_binaries}) add_dune_alberta_flags(GRIDDIM 3 ${test}) endif() endforeach() - diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 7d8146c15d191c2c3b4a29c5935a9fe56e7b914a..8bf4d6b5df2faf457d9006187869d32904610a5b 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -9,4 +9,3 @@ add_subdirectory(dune/xt/) dxt_add_python_tests() -