Fix deprecation warnings by using Eigen

This commit is contained in:
Maxime Gimeno 2019-07-03 10:29:24 +02:00
parent 4cdfecc8c5
commit a3e012316c
1 changed files with 35 additions and 29 deletions

View File

@ -40,6 +40,9 @@ create_single_source_cgal_program( "polyfit_example_without_input_planes.cpp" )
create_single_source_cgal_program( "polyfit_example_user_provided_planes.cpp" )
create_single_source_cgal_program( "polyfit_example_model_complexty_control.cpp" )
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
if(EIGEN3_FOUND)
include( ${EIGEN3_USE_FILE} )
find_package( SCIP QUIET)
@ -80,3 +83,6 @@ else()
endif()
else()
message(STATUS "NOTICE: Some of the executables in this directory need Eigen 3.1 (or greater) and will not be compiled.")
endif()