mirror of https://github.com/CGAL/cgal
Require in CMake a recent boost when using CORE.
This commit is contained in:
parent
6fa89d7cdc
commit
2e3f44abb9
|
|
@ -54,6 +54,7 @@ endif()
|
||||||
#
|
#
|
||||||
|
|
||||||
function(CGAL_setup_CGAL_Core_dependencies target)
|
function(CGAL_setup_CGAL_Core_dependencies target)
|
||||||
|
find_package( Boost 1.70 REQUIRED )
|
||||||
use_CGAL_GMP_support(CGAL_Core INTERFACE)
|
use_CGAL_GMP_support(CGAL_Core INTERFACE)
|
||||||
target_compile_definitions(${target} INTERFACE CGAL_USE_CORE=1)
|
target_compile_definitions(${target} INTERFACE CGAL_USE_CORE=1)
|
||||||
target_link_libraries( CGAL_Core INTERFACE CGAL::CGAL )
|
target_link_libraries( CGAL_Core INTERFACE CGAL::CGAL )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue