Skip to content

Commit 61d87ef

Browse files
authored
Merge pull request #37 from jorisv/topic/workspace
Set policy CMP0167 to avoid warnings with CMake 3.30
2 parents cbd38e4 + 4659263 commit 61d87ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ else()
5353
endif()
5454
endif()
5555

56+
# Use BoostConfig module distributed by boost library instead of using FindBoost module distributed
57+
# by CMake
58+
if(POLICY CMP0167)
59+
cmake_policy(SET CMP0167 NEW)
60+
endif()
5661
INCLUDE(${JRL_CMAKE_MODULES}/base.cmake)
5762
INCLUDE(${JRL_CMAKE_MODULES}/boost.cmake)
5863
INCLUDE(${JRL_CMAKE_MODULES}/ide.cmake)

0 commit comments

Comments
 (0)