Set CMP0077 to OLD (new in CMake-3.13)

This commit is contained in:
Laurent Rineau 2018-07-13 11:24:50 +02:00
parent c63a7c77e5
commit 6079b3847e
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@
# Boost versions, even if the file FindBoost.cmake is old.
if( NOT CGAL_TweakFindBoost )
if(POLICY CMP0077)
cmake_policy(SET CMP0077 OLD)
endif()
if(DEFINED CGAL_Boost_USE_STATIC_LIBS)
# If the option is loaded from CGALConfig.h, use its value as default
# value. But the user will still have the choice to change the