From 9e308c4388a616439456dca2503d3f60e82c2d0a Mon Sep 17 00:00:00 2001 From: Christoph Rettinger <christoph.rettinger@fau.de> Date: Mon, 17 May 2021 11:33:50 +0200 Subject: [PATCH] Fixed ordering of cmake commands --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 41aca5787..c984d50cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1256,6 +1256,8 @@ include_directories ( ${CMAKE_CURRENT_BINARY_DIR}/src ) # All include paths are specified relative to src/ directory include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/src ) +# sources +add_subdirectory ( src ) # Generate file with compile options, and add install rule for it configure_file ( src/waLBerlaDefinitions.in.h @@ -1263,8 +1265,6 @@ configure_file ( src/waLBerlaDefinitions.in.h install( FILES ${walberla_BINARY_DIR}/src/waLBerlaDefinitions.h DESTINATION walberla/ ) -# sources -add_subdirectory ( src ) # test if ( WALBERLA_BUILD_TESTS ) -- GitLab