add boost components
This commit is contained in:
parent
7bfff75822
commit
683ac08150
@ -2,8 +2,10 @@ 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})
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
find_package(Boost CONFIG REQUIRED ${_BOOST_COMPONENTS})
|
||||
|
||||
hunter_add_package(nlohmann_json)
|
||||
find_package(nlohmann_json CONFIG REQUIRED)
|
||||
@ -28,10 +30,11 @@ ExternalProject_Add(wt
|
||||
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
|
||||
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
|
||||
-DCMAKE_INSTALL_PREFIX=${EXTERNAL_INSTALL_LOCATION}
|
||||
-DBOOST_ROOT=/home/bwieczor/.hunter/_Base/a412c45/f8d72b9/85521ae/Install/
|
||||
-DBOOST_INCLUDEDIR=/home/bwieczor/.hunter/_Base/a412c45/f8d72b9/85521ae/Install/include/
|
||||
-DBOOST_LIBRARYDIR=/home/bwieczor/.hunter/_Base/a412c45/f8d72b9/85521ae/Install/lib/
|
||||
-DBoost_NO_SYSTEM_PATHS=ON
|
||||
-DBoost_USE_STATIC_LIBS=ON
|
||||
-DBOOST_PREFIX=/home/bwieczor/.hunter/_Base/a412c45/2cf74e8/85521ae/Install
|
||||
-DBOOST_INCLUDEDIR=/home/bwieczor/.hunter/_Base/a412c45/2cf74e8/85521ae/Install/include/
|
||||
-DBOOST_LIBRARYDIR=/home/bwieczor/.hunter/_Base/a412c45/2cf74e8/85521ae/Install/lib/
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DINSTALL_RESOURCES=OFF
|
||||
-DENABLE_SSL=OFF
|
||||
|
||||
Loading…
Reference in New Issue
Block a user