Skip to content

Commit

Permalink
Merge pull request #37 from jorisv/topic/workspace
Browse files Browse the repository at this point in the history
Set policy CMP0167 to avoid warnings with CMake 3.30
  • Loading branch information
jcarpent authored Jul 24, 2024
2 parents cbd38e4 + 4659263 commit 61d87ef
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 @@ -53,6 +53,11 @@ else()
endif()
endif()

# Use BoostConfig module distributed by boost library instead of using FindBoost module distributed
# by CMake
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()
INCLUDE(${JRL_CMAKE_MODULES}/base.cmake)
INCLUDE(${JRL_CMAKE_MODULES}/boost.cmake)
INCLUDE(${JRL_CMAKE_MODULES}/ide.cmake)
Expand Down

0 comments on commit 61d87ef

Please sign in to comment.