From c4083f043b583aad0bfaa2b96d1c83f1c52eed51 Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Tue, 15 Jun 2021 19:03:46 +0200 Subject: [PATCH] Missing a target_include_directory for Unix I changed a `include_directory()` to a target_include_directory but forgot to do it for each Transition lib as well. --- src/Transition/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Transition/CMakeLists.txt b/src/Transition/CMakeLists.txt index df0468d78a4..06f18f8f798 100644 --- a/src/Transition/CMakeLists.txt +++ b/src/Transition/CMakeLists.txt @@ -64,6 +64,7 @@ foreach(i RANGE 1 ${end}) set(CMAKE_Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${LAST_NAME}) add_executable("${LAST_NAME}" ${SRC}) + target_include_directories("${LAST_NAME}" PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) set_target_properties("${LAST_NAME}" PROPERTIES FOLDER Auxiliary) target_link_libraries("${LAST_NAME}" TransitionLib)