fix(cmake): use boost's own cmake config file (#5679)

This commit is contained in:
pajlada 2024-10-27 14:10:52 +01:00 committed by GitHub
parent bbcd8c5eb2
commit 90211cca55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.15)
cmake_policy(SET CMP0087 NEW) # evaluates generator expressions in `install(CODE/SCRIPT)`
cmake_policy(SET CMP0091 NEW) # select MSVC runtime library through `CMAKE_MSVC_RUNTIME_LIBRARY`
if (POLICY CMP0167)
cmake_policy(SET CMP0167 NEW) # find Boost's own CMake config file
endif ()
include(FeatureSummary)
list(APPEND CMAKE_MODULE_PATH