Skip to content

Commit

Permalink
Avoid errors with Boost in CMake 3.31+
Browse files Browse the repository at this point in the history
  • Loading branch information
arahlin committed Dec 3, 2024
1 parent d55a62a commit 32bbc9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.12)
# Don't warn about removal of FindBoost in cmake 3.30+
if(POLICY CMP0167)
if(CMAKE_VERSION VERSION_LESS "3.31" AND POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()

Expand Down

0 comments on commit 32bbc9f

Please sign in to comment.