Skip to content

Commit

Permalink
Merge branch 'use-boost-component' into 'master'
Browse files Browse the repository at this point in the history
Update CMakeLists.txt

See merge request correaa/boost-multi!1247
  • Loading branch information
correaa committed Oct 6, 2024
2 parents fec0bfd + fb2cef4 commit b4ea3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ install(FILES "${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake" "${PR
install(DIRECTORY "include/" TYPE INCLUDE)

if(MULTI_BUILD_TESTS)
find_package(Boost) # you can use your own Boost and use `cmake -DBOOST_ROOT=$HOME/local`
find_package(Boost COMPONENTS boost) # you can use your own Boost and use `cmake -DBOOST_ROOT=$HOME/local`
if(NOT Boost_FOUND)
message(WARNING "Cannot find Boost, Multi library will not be fully tested.")
else()
Expand Down

0 comments on commit b4ea3ae

Please sign in to comment.