Check for required CGAL version

fixes #4912
This commit is contained in:
tamasmeszaros 2020-12-07 18:19:53 +01:00
parent 0b0e5e5040
commit 83fb066c64

View file

@ -288,7 +288,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 4.13.2 REQUIRED)
cmake_policy(POP)
add_library(libslic3r_cgal STATIC MeshBoolean.cpp MeshBoolean.hpp TryCatchSignal.hpp