Require in CMake a recent boost when using CORE.

This commit is contained in:
Andreas Fabri 2022-06-06 11:39:47 +01:00
parent 6fa89d7cdc
commit 2e3f44abb9
1 changed files with 1 additions and 0 deletions

View File

@ -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 )