Skip to content

Commit

Permalink
fix(cmake): use boost's own cmake config file (#5679)
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada authored Oct 27, 2024
1 parent bbcd8c5 commit 90211cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 90211cc

Please sign in to comment.