From 6079b3847eefe6ecd9fe6cdb71682cd19d4985e2 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Fri, 13 Jul 2018 11:24:50 +0200 Subject: [PATCH] Set CMP0077 to OLD (new in CMake-3.13) --- Installation/cmake/modules/CGAL_TweakFindBoost.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Installation/cmake/modules/CGAL_TweakFindBoost.cmake b/Installation/cmake/modules/CGAL_TweakFindBoost.cmake index a27ff2d960b..457f84f342d 100644 --- a/Installation/cmake/modules/CGAL_TweakFindBoost.cmake +++ b/Installation/cmake/modules/CGAL_TweakFindBoost.cmake @@ -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