File tree Expand file tree Collapse file tree 3 files changed +28
-22
lines changed
Expand file tree Collapse file tree 3 files changed +28
-22
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,15 @@ if ( CGAL_FOUND )
2424 find_package (Eigen3 3.1.0)
2525 if (EIGEN3_FOUND)
2626 include ( ${EIGEN3_USE_FILE} )
27- endif ()
28-
29- include_directories (BEFORE "../../include" )
30-
27+ include_directories (BEFORE "../../include" )
3128 include_directories (BEFORE "include" )
29+ create_single_source_cgal_program( "delaunay.cpp" )
3230
33- create_single_source_cgal_program( "delaunay.cpp" )
31+ else ()
32+ message (STATUS "NOTICE: Some of the executables in this directory need Eigen 3.1 (or greater) and will not be compiled." )
33+ endif ()
3434
3535else ()
36-
3736 message (STATUS "This program requires the CGAL library, and will not be compiled." )
38-
3937endif ()
4038
Original file line number Diff line number Diff line change @@ -20,19 +20,21 @@ if ( CGAL_FOUND )
2020 include ( ${CGAL_USE_FILE} )
2121
2222 include ( CGAL_CreateSingleSourceCGALProgram )
23-
23+
2424 find_package (Eigen3 3.1.0)
2525 if (EIGEN3_FOUND)
2626 include ( ${EIGEN3_USE_FILE} )
27- endif ( )
27+ include_directories (BEFORE "../../include" )
2828
29- include_directories (BEFORE "../../include" )
29+ create_single_source_cgal_program( "barycentric_subdivision.cpp" )
30+ create_single_source_cgal_program( "delaunay_triangulation.cpp" )
31+ create_single_source_cgal_program( "triangulation.cpp" )
32+ create_single_source_cgal_program( "triangulation_data_structure_dynamic.cpp" )
33+ create_single_source_cgal_program( "triangulation_data_structure_static.cpp" )
3034
31- create_single_source_cgal_program( "barycentric_subdivision.cpp" )
32- create_single_source_cgal_program( "delaunay_triangulation.cpp" )
33- create_single_source_cgal_program( "triangulation.cpp" )
34- create_single_source_cgal_program( "triangulation_data_structure_dynamic.cpp" )
35- create_single_source_cgal_program( "triangulation_data_structure_static.cpp" )
35+ else ()
36+ message (STATUS "NOTICE: Some of the executables in this directory need Eigen 3.1 (or greater) and will not be compiled." )
37+ endif ()
3638
3739else ()
3840
Original file line number Diff line number Diff line change @@ -25,15 +25,21 @@ if ( CGAL_FOUND )
2525 if (EIGEN3_FOUND)
2626 include ( ${EIGEN3_USE_FILE} )
2727 endif ()
28-
29- include_directories (BEFORE "../../include" )
30-
28+
29+ find_package (Eigen3 3.1.0)
30+ if (EIGEN3_FOUND)
31+ include ( ${EIGEN3_USE_FILE} )
32+ include_directories (BEFORE "../../include" )
3133 include_directories (BEFORE "include" )
3234
33- create_single_source_cgal_program( "test_delaunay.cpp" )
34- create_single_source_cgal_program( "test_tds.cpp" )
35- create_single_source_cgal_program( "test_torture.cpp" )
36- create_single_source_cgal_program( "test_triangulation.cpp" )
35+ create_single_source_cgal_program( "test_delaunay.cpp" )
36+ create_single_source_cgal_program( "test_tds.cpp" )
37+ create_single_source_cgal_program( "test_torture.cpp" )
38+ create_single_source_cgal_program( "test_triangulation.cpp" )
39+
40+ else ()
41+ message (STATUS "NOTICE: Some of the executables in this directory need Eigen 3.1 (or greater) and will not be compiled." )
42+ endif ()
3743
3844else ()
3945
You can’t perform that action at this time.
0 commit comments