Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
Fix Boost includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Hier committed Sep 27, 2017
1 parent 792a7f6 commit 4d4a26b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/cmake/DefineOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ if(BUILD_CPP)
if(boost_components)
hunter_add_package(Boost COMPONENTS ${boost_components})
find_package(Boost CONFIG REQUIRED ${boost_components})
else()
hunter_add_package(Boost)
find_package(Boost CONFIG REQUIRED)
endif()
elseif(BUILD_C_GLIB AND BUILD_TESTING)
find_package(Boost 1.53 REQUIRED)
Expand Down

0 comments on commit 4d4a26b

Please sign in to comment.