add boost components

This commit is contained in:
cszawisza 2018-01-22 22:56:17 +01:00
parent 7bfff75822
commit 3d352adf47

View File

@ -2,8 +2,9 @@ include(ExternalProject)
#https://github.com/ruslo/hunter/wiki/dev.variables
hunter_add_package(Boost)
find_package(Boost CONFIG REQUIRED)
SET(_BOOST_COMPONENTS program_options system filesystem thread)
hunter_add_package(Boost COMPONENTS ${_BOOST_COMPONENTS})
find_package(Boost CONFIG REQUIRED ${_BOOST_COMPONENTS})
hunter_add_package(nlohmann_json)
find_package(nlohmann_json CONFIG REQUIRED)