Skip to content

Commit

Permalink
CMake: Find Boost using CONFIG mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jul 4, 2024
1 parent 1166e3e commit aabfa93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake_modules/PagmoFindBoost.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Run a first pass for finding the headers only,
# and establishing the Boost version.
set(_PAGMO_BOOST_MINIMUM_VERSION 1.68.0)
find_package(Boost ${_PAGMO_BOOST_MINIMUM_VERSION} QUIET REQUIRED)
find_package(Boost ${_PAGMO_BOOST_MINIMUM_VERSION} QUIET REQUIRED CONFIG)

set(_PAGMO_REQUIRED_BOOST_LIBS serialization)

Expand Down

0 comments on commit aabfa93

Please sign in to comment.