Skip to content

Commit

Permalink
cmake policy for Boost
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Dec 16, 2024
1 parent af73cb3 commit de622b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ include(GenerateExportHeader)
include(CTest)
include(FetchContent)

# FindBoost, take care of it now.
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.30)
cmake_policy(SET CMP0167 NEW)
endif()

# When building with ninja-multiconfig, build both debug and release by default
if(CMAKE_GENERATOR STREQUAL "Ninja Multi-Config")
set(CMAKE_CROSS_CONFIGS "Debug;Release")
Expand Down

0 comments on commit de622b6

Please sign in to comment.