Require minimum version 5.0 of CGAL

This commit is contained in:
tamasmeszaros 2020-10-26 14:30:11 +01:00
parent ba4afc9378
commit f3327adf49

View file

@ -269,7 +269,7 @@ set(CGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE ON CACHE BOOL "" FORCE)
cmake_policy(PUSH)
cmake_policy(SET CMP0011 NEW)
find_package(CGAL REQUIRED)
find_package(CGAL 5.0 REQUIRED)
cmake_policy(POP)
add_library(libslic3r_cgal STATIC MeshBoolean.cpp MeshBoolean.hpp)