diff --git a/Config.cmake.in b/Config.cmake.in index e344c483..ad7bea53 100644 --- a/Config.cmake.in +++ b/Config.cmake.in @@ -16,7 +16,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/cmake/configure_boost.cmake") # Boost # Find Boost headers only according to https://cmake.org/cmake/help/latest/module/FindBoost.html configure_boost() -find_dependency(Boost ${BOOST_MIN_VERSION} REQUIRED PATHS "${CMAKE_INSTALL_PREFIX}/boost" NO_DEFAULT_PATH) +find_dependency(Boost ${BOOST_MIN_VERSION} REQUIRED PATHS "../../../boost" NO_DEFAULT_PATH) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS})