Skip to content

Commit

Permalink
use package_prefix_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Jan 12, 2024
1 parent cd960de commit b1ec641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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_CURRENT_LIST_DIR}/../../../boost" NO_DEFAULT_PATH)
find_dependency(Boost ${BOOST_MIN_VERSION} REQUIRED PATHS "${PACKAGE_PREFIX_DIR}/boost" NO_DEFAULT_PATH)

if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
Expand Down

0 comments on commit b1ec641

Please sign in to comment.