Update boost-cmake (#252)

* update boost-cmake

* run cmake-format
This commit is contained in:
Lars Melchior
2021-05-18 15:29:52 +02:00
committed by GitHub
parent 7644c3a40f
commit de5551e42c
3 changed files with 6 additions and 10 deletions

View File

@@ -11,13 +11,8 @@ target_compile_features(CPMExampleBoost PRIVATE cxx_std_17)
include(../../cmake/CPM.cmake)
CPMFindPackage(
NAME Boost
GITHUB_REPOSITORY Orphis/boost-cmake
VERSION 1.67.0
# setting FIND_PACKAGE_ARGUMENTS allow usage with `CPM_USE_LOCAL_PACKAGES`
FIND_PACKAGE_ARGUMENTS "COMPONENTS system"
)
# boost-cmake currently doesn't tag versions, so we use the according boost version
CPMAddPackage("gh:Orphis/boost-cmake#7f97a08b64bd5d2e53e932ddf80c40544cf45edf@1.71.0")
find_package(Threads REQUIRED)