Merge pull request #3229 from lrineau/Installation-fix_compatibility_with_CMake_3.13-GF

Set CMP0077 to OLD (new in CMake-3.13)
This commit is contained in:
Laurent Rineau 2018-07-16 11:12:56 +02:00
commit 919b9afe92
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