diff --git a/ippl/src/CMakeLists.txt b/ippl/src/CMakeLists.txt index 2c2f9abe4d2b5a94c7b0e2c30b954a001dcbe577..1df8073f702757eb1c5cc07e9c145d9fb1c667f9 100644 --- a/ippl/src/CMakeLists.txt +++ b/ippl/src/CMakeLists.txt @@ -145,7 +145,7 @@ SET (MAKE_DEF INCLUDE_DIRECTORIES ( - ${CMAKE_CURRENT_SOURCE_DIR} + BEFORE ${CMAKE_CURRENT_SOURCE_DIR} ) IF (ENABLE_DKS) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 157ddb5aca128242d56ca28597d8c3e036755b6b..2e05334e1997b6bcb5b593591febb82e5b7266f1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -73,7 +73,7 @@ add_subdirectory (ValueDefinitions) add_sources (opal.cpp) -include_directories ( +include_directories ( BEFORE ${OPAL_SRC_DIR} ${CLASSIC_SRC_DIR} ${IPPL_INCLUDE_DIR}