diff --git a/Config.cmake.in b/Config.cmake.in index eb383e49..4fdec59c 100644 --- a/Config.cmake.in +++ b/Config.cmake.in @@ -21,7 +21,7 @@ configure_dependencies() # Boost # Find Boost headers only according to https://cmake.org/cmake/help/latest/module/FindBoost.html configure_boost() -find_package(Boost ${BOOST_MIN_VERSION} REQUIRED) +find_dependency(Boost ${BOOST_MIN_VERSION} REQUIRED) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) endif() diff --git a/cmake/configure_dependencies.cmake b/cmake/configure_dependencies.cmake index 80ecdfb2..81139b27 100644 --- a/cmake/configure_dependencies.cmake +++ b/cmake/configure_dependencies.cmake @@ -1,6 +1,7 @@ macro(configure_dependencies) # We installed the dependencies into the subdirectories under the install prefix. # Hence must append them to the single cmake_prefix_path. + message("Configure dependencies of Loki:") message(STATUS "CMAKE_PREFIX_PATH: ${CMAKE_PREFIX_PATH}") list(LENGTH CMAKE_PREFIX_PATH PREFIX_PATH_COUNT) if(PREFIX_PATH_COUNT GREATER 1)