This commit is contained in:
Maxime Gimeno 2019-07-03 10:27:14 +02:00
parent d75842159b
commit 4cdfecc8c5
1 changed files with 24 additions and 16 deletions

View File

@ -35,6 +35,11 @@ include( CGAL_CreateSingleSourceCGALProgram )
create_single_source_cgal_program( "polygonal_surface_reconstruction_test.cpp" ) create_single_source_cgal_program( "polygonal_surface_reconstruction_test.cpp" )
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
if(EIGEN3_FOUND)
include( ${EIGEN3_USE_FILE} )
# Executables that require Eigen 3.1
find_package( SCIP QUIET) find_package( SCIP QUIET)
if (SCIP_FOUND) if (SCIP_FOUND)
@ -71,3 +76,6 @@ if (NOT SCIP_FOUND AND NOT GLPK_FOUND)
"Please provide either 'SCIP_DIR' or 'GLPK_INCLUDE_DIR' and 'GLPK_LIBRARIES'") "Please provide either 'SCIP_DIR' or 'GLPK_INCLUDE_DIR' and 'GLPK_LIBRARIES'")
endif() endif()
else()
message(STATUS "NOTICE: Some of the executables in this directory need Eigen 3.1 (or greater) and will not be compiled.")
endif()