From 2e3f44abb93768b5dd0b258b73514e4bd61d15fe Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 6 Jun 2022 11:39:47 +0100 Subject: [PATCH] Require in CMake a recent boost when using CORE. --- Installation/cmake/modules/CGAL_SetupCGAL_CoreDependencies.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Installation/cmake/modules/CGAL_SetupCGAL_CoreDependencies.cmake b/Installation/cmake/modules/CGAL_SetupCGAL_CoreDependencies.cmake index 3387eae26c8..c4aa62e4f42 100644 --- a/Installation/cmake/modules/CGAL_SetupCGAL_CoreDependencies.cmake +++ b/Installation/cmake/modules/CGAL_SetupCGAL_CoreDependencies.cmake @@ -54,6 +54,7 @@ endif() # function(CGAL_setup_CGAL_Core_dependencies target) + find_package( Boost 1.70 REQUIRED ) use_CGAL_GMP_support(CGAL_Core INTERFACE) target_compile_definitions(${target} INTERFACE CGAL_USE_CORE=1) target_link_libraries( CGAL_Core INTERFACE CGAL::CGAL )