Skip to content
Snippets Groups Projects
Unverified Commit 9b3ecb8b authored by Joris Vaillant's avatar Joris Vaillant
Browse files

cmake: Activate CMP0167 policy

parent 7aeb0452
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,15 @@ 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)
# Set a default value to this policy to avoid issue with find_dependency
# macro redefinition with different policy in some modules.
set(CMAKE_POLICY_DEFAULT_CMP0167 NEW)
endif()
include("${JRL_CMAKE_MODULES}/boost.cmake")
include("${JRL_CMAKE_MODULES}/python.cmake")
include("${JRL_CMAKE_MODULES}/hpp.cmake")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment