Skip to content

Commit

Permalink
Fix a warning with CMake 3.30
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsvu committed Nov 4, 2024
1 parent daf8687 commit 1961b0d
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 @@ -44,6 +44,11 @@ endif()
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.24)
cmake_policy(SET CMP0135 NEW)
endif()
# - We allow CMake 3.30 and above to load Boost's CMake config file that is
# installed alongside Boost. Before, CMake provided its own FindBoost module.
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.30)
cmake_policy(SET CMP0167 NEW)
endif ()

# FetchContent can be used to download and build some dependencies. We can
# consider turning this on by default later.
Expand Down

0 comments on commit 1961b0d

Please sign in to comment.