From 870795d79d440bf85be66985a1d7998fbba7f00a Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Tue, 7 Jul 2015 11:22:01 +0200 Subject: [PATCH 1/4] Add some info display --- AABB_tree/demo/AABB_tree/Scene.cpp | 1 + AABB_tree/demo/AABB_tree/Viewer.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/AABB_tree/demo/AABB_tree/Scene.cpp b/AABB_tree/demo/AABB_tree/Scene.cpp index c9efc60a573..08665e5f5ba 100644 --- a/AABB_tree/demo/AABB_tree/Scene.cpp +++ b/AABB_tree/demo/AABB_tree/Scene.cpp @@ -1311,6 +1311,7 @@ void Scene::deactivate_cutting_plane() } void Scene::initGL() { + qDebug()<<"context from scene is valid :"<isValid(); initializeOpenGLFunctions(); glGenTextures(1, &textureId); compile_shaders(); diff --git a/AABB_tree/demo/AABB_tree/Viewer.cpp b/AABB_tree/demo/AABB_tree/Viewer.cpp index 7a72edb85df..34c9cffe106 100644 --- a/AABB_tree/demo/AABB_tree/Viewer.cpp +++ b/AABB_tree/demo/AABB_tree/Viewer.cpp @@ -31,6 +31,7 @@ void Viewer::initializeGL() QGLViewer::initializeGL(); setBackgroundColor(::Qt::white); m_pScene->context = this->context(); + qDebug()<<"context from viewer is valid :"<context()->isValid(); m_pScene->initGL(); } From 84dfabf3b48de60ec773936f46b2963fbdf5918b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 7 Jul 2015 11:13:38 +0200 Subject: [PATCH 2/4] remove REQUIRED keyword for CGAL_Qt5 in demos The handling should be with a status message --- AABB_tree/demo/AABB_tree/CMakeLists.txt | 2 +- Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt | 2 +- Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt | 2 +- GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt | 2 +- GraphicsView/demo/Bounding_volumes/CMakeLists.txt | 2 +- GraphicsView/demo/Circular_kernel_2/CMakeLists.txt | 2 +- GraphicsView/demo/Generator/CMakeLists.txt | 2 +- GraphicsView/demo/GraphicsView/CMakeLists.txt | 2 +- GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt | 2 +- GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt | 2 +- GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt | 2 +- GraphicsView/demo/Polygon/CMakeLists.txt | 2 +- GraphicsView/demo/Snap_rounding_2/CMakeLists.txt | 2 +- GraphicsView/demo/Spatial_searching_2/CMakeLists.txt | 2 +- GraphicsView/demo/Stream_lines_2/CMakeLists.txt | 2 +- GraphicsView/demo/Triangulation_2/CMakeLists.txt | 2 +- Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt | 2 +- Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt | 2 +- .../demo/Periodic_3_triangulation_3/CMakeLists.txt | 2 +- Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt | 2 +- Polyhedron/demo/Polyhedron/CMakeLists.txt | 2 +- .../demo/Principal_component_analysis/CMakeLists.txt | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/AABB_tree/demo/AABB_tree/CMakeLists.txt b/AABB_tree/demo/AABB_tree/CMakeLists.txt index eb4f6a96fca..cec72a6421c 100644 --- a/AABB_tree/demo/AABB_tree/CMakeLists.txt +++ b/AABB_tree/demo/AABB_tree/CMakeLists.txt @@ -14,7 +14,7 @@ endif() # Include this package's headers first include_directories( BEFORE ./ ./include ../../include ) # Find CGAL and CGAL Qt5 -find_package(CGAL REQUIRED COMPONENTS Qt5 ) +find_package(CGAL COMPONENTS Qt5 ) include( ${CGAL_USE_FILE} ) # Find Qt5 itself diff --git a/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt b/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt index 668afba7b39..6161c34ca8f 100644 --- a/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt +++ b/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt @@ -11,7 +11,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) find_package(Qt5 COMPONENTS Xml Script OpenGL) diff --git a/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt b/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt index 904cdf884d5..5cd80fabca5 100644 --- a/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt +++ b/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt @@ -5,7 +5,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) find_package(Qt5 COMPONENTS Xml Script OpenGL) diff --git a/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt b/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt index 19cedbca651..40e1b7aaa50 100644 --- a/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt +++ b/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Bounding_volumes/CMakeLists.txt b/GraphicsView/demo/Bounding_volumes/CMakeLists.txt index 96a66b26b24..2fca55bbab5 100644 --- a/GraphicsView/demo/Bounding_volumes/CMakeLists.txt +++ b/GraphicsView/demo/Bounding_volumes/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt b/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt index 44dda726de6..1b0ed1f9cec 100644 --- a/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt +++ b/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Generator/CMakeLists.txt b/GraphicsView/demo/Generator/CMakeLists.txt index 0cd2a1a666f..4dd0cbb5141 100644 --- a/GraphicsView/demo/Generator/CMakeLists.txt +++ b/GraphicsView/demo/Generator/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/GraphicsView/CMakeLists.txt b/GraphicsView/demo/GraphicsView/CMakeLists.txt index 958b3d309f2..019c5069372 100644 --- a/GraphicsView/demo/GraphicsView/CMakeLists.txt +++ b/GraphicsView/demo/GraphicsView/CMakeLists.txt @@ -7,7 +7,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt b/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt index a89f618a5e5..a83aaa8ad11 100644 --- a/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt +++ b/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt b/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt index 90bd8bf9b4f..5ae999b1233 100644 --- a/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt +++ b/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt b/GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt index a5b4a6b7cd4..0ff9aa47646 100644 --- a/GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt +++ b/GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt @@ -8,7 +8,7 @@ if ( COMMAND cmake_policy ) cmake_policy( SET CMP0003 NEW ) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5 REQUIRED) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Polygon/CMakeLists.txt b/GraphicsView/demo/Polygon/CMakeLists.txt index 71f0ef04ed8..e256f6b8fcc 100644 --- a/GraphicsView/demo/Polygon/CMakeLists.txt +++ b/GraphicsView/demo/Polygon/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5 Core) +find_package(CGAL COMPONENTS Qt5 Core) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt b/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt index 92e68483144..f8da80c9149 100644 --- a/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt +++ b/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt b/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt index a1f67366acd..3a1c7d76872 100644 --- a/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt +++ b/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Stream_lines_2/CMakeLists.txt b/GraphicsView/demo/Stream_lines_2/CMakeLists.txt index 2bf2536acf7..c1881ef6ed5 100644 --- a/GraphicsView/demo/Stream_lines_2/CMakeLists.txt +++ b/GraphicsView/demo/Stream_lines_2/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/GraphicsView/demo/Triangulation_2/CMakeLists.txt b/GraphicsView/demo/Triangulation_2/CMakeLists.txt index 7f83e32453d..30a921133ae 100644 --- a/GraphicsView/demo/Triangulation_2/CMakeLists.txt +++ b/GraphicsView/demo/Triangulation_2/CMakeLists.txt @@ -8,7 +8,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt b/Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt index 13825656b9e..17f59cfcea4 100644 --- a/Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt +++ b/Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt @@ -30,7 +30,7 @@ endif() add_definitions(-DCGAL_PROFILE_LCC_DEMO) ################## -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) find_package(Qt5 COMPONENTS Xml Script OpenGL) diff --git a/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt b/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt index 8e8f42de751..2e1ab09d1eb 100644 --- a/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt +++ b/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt @@ -14,7 +14,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}") include_directories( BEFORE ${Mesh_3_implicit_functions_BINARY_DIR} ../include ) # Find CGAL and CGAL Qt5 -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) # Find Qt5 itself diff --git a/Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/CMakeLists.txt b/Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/CMakeLists.txt index 603bbde8ba5..aa45255751d 100644 --- a/Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/CMakeLists.txt +++ b/Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/CMakeLists.txt @@ -10,7 +10,7 @@ if(POLICY CMP0043) endif() # Find CGAL -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) # Find Qt5 itself diff --git a/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt b/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt index 77ad080102d..a1cc8f4e53d 100644 --- a/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt +++ b/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt @@ -12,7 +12,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) diff --git a/Polyhedron/demo/Polyhedron/CMakeLists.txt b/Polyhedron/demo/Polyhedron/CMakeLists.txt index 971ff57d8bc..1bab8434753 100644 --- a/Polyhedron/demo/Polyhedron/CMakeLists.txt +++ b/Polyhedron/demo/Polyhedron/CMakeLists.txt @@ -53,7 +53,7 @@ set( QT_USE_QTOPENGL TRUE ) if( POLYHEDRON_QTSCRIPT_DEBUGGER) set( QT_USE_QTSCRIPTTOOLS TRUE ) endif() -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) find_package(Qt5 COMPONENTS OpenGL Script Svg Xml ScriptTools) diff --git a/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt b/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt index 60d65657f80..dc03be3282f 100644 --- a/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt +++ b/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt @@ -16,7 +16,7 @@ endforeach() include_directories( ./ ) # Find CGAL and CGAL Qt5 -find_package(CGAL REQUIRED COMPONENTS Qt5) +find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) # Find Qt5 itself From 9e5721191665a628065e892809065eec0f0d546a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 7 Jul 2015 11:18:33 +0200 Subject: [PATCH 3/4] add missing check on dependancies --- Surface_mesher/demo/Surface_mesher/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Surface_mesher/demo/Surface_mesher/CMakeLists.txt b/Surface_mesher/demo/Surface_mesher/CMakeLists.txt index 864e06fb1a6..a7b4cdfb8bf 100644 --- a/Surface_mesher/demo/Surface_mesher/CMakeLists.txt +++ b/Surface_mesher/demo/Surface_mesher/CMakeLists.txt @@ -36,7 +36,7 @@ set( QT_USE_QTXML TRUE ) set( QT_USE_QTMAIN TRUE ) find_package(CGAL COMPONENTS ImageIO Qt5) -if ( CGAL_FOUND AND CGAL_Qt5_FOUND) +if ( CGAL_FOUND AND CGAL_Qt5_FOUND AND CGAL_ImageIO_FOUND) add_definitions(-DQT_NO_KEYWORDS) include( ${CGAL_USE_FILE} ) @@ -45,7 +45,7 @@ if ( CGAL_FOUND AND CGAL_Qt5_FOUND) find_package(QGLViewer ) find_package(OpenGL ) - if ( QGLVIEWER_FOUND ) + if ( QGLVIEWER_FOUND AND Qt5_FOUND) include_directories( ${QGLVIEWER_INCLUDE_DIR} ) From d164633493f8c06364fb70bb5941979e005d472c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 7 Jul 2015 11:23:19 +0200 Subject: [PATCH 4/4] remove REQUIRED keyword --- Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt | 2 +- BGL/test/BGL/CMakeLists.txt | 2 +- CGAL_Core/examples/Core/CMakeLists.txt | 2 +- .../test/Polyline_simplification_2/CMakeLists.txt | 2 +- .../examples/Surface_mesh_segmentation/CMakeLists.txt | 2 +- .../examples/Surface_mesh_simplification/CMakeLists.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt b/Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt index 7349cd12e46..a548cd61e69 100644 --- a/Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt +++ b/Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt @@ -26,7 +26,7 @@ include( ${CGAL_USE_FILE} ) include( CGAL_CreateSingleSourceCGALProgram ) # Boost and its components -find_package( Boost REQUIRED ) +find_package( Boost ) if ( NOT Boost_FOUND ) diff --git a/BGL/test/BGL/CMakeLists.txt b/BGL/test/BGL/CMakeLists.txt index 7ac8cf18194..9b420b7a3af 100644 --- a/BGL/test/BGL/CMakeLists.txt +++ b/BGL/test/BGL/CMakeLists.txt @@ -36,7 +36,7 @@ include( ${CGAL_USE_FILE} ) # Boost and its components -find_package( Boost REQUIRED ) +find_package( Boost ) if ( NOT Boost_FOUND ) message(STATUS "This project requires the Boost library, and will not be compiled.") diff --git a/CGAL_Core/examples/Core/CMakeLists.txt b/CGAL_Core/examples/Core/CMakeLists.txt index e3fbde5cdfd..3a56a0ac573 100644 --- a/CGAL_Core/examples/Core/CMakeLists.txt +++ b/CGAL_Core/examples/Core/CMakeLists.txt @@ -33,7 +33,7 @@ include( ${CGAL_USE_FILE} ) # Boost and its components -find_package( Boost REQUIRED ) +find_package( Boost ) if ( NOT Boost_FOUND ) diff --git a/Polyline_simplification_2/test/Polyline_simplification_2/CMakeLists.txt b/Polyline_simplification_2/test/Polyline_simplification_2/CMakeLists.txt index 9d65a2d3099..e451a6ac4d2 100644 --- a/Polyline_simplification_2/test/Polyline_simplification_2/CMakeLists.txt +++ b/Polyline_simplification_2/test/Polyline_simplification_2/CMakeLists.txt @@ -36,7 +36,7 @@ include( ${CGAL_USE_FILE} ) # Boost and its components -find_package( Boost REQUIRED ) +find_package( Boost ) if ( NOT Boost_FOUND ) diff --git a/Surface_mesh_segmentation/examples/Surface_mesh_segmentation/CMakeLists.txt b/Surface_mesh_segmentation/examples/Surface_mesh_segmentation/CMakeLists.txt index 66401c6d404..e81f3810419 100644 --- a/Surface_mesh_segmentation/examples/Surface_mesh_segmentation/CMakeLists.txt +++ b/Surface_mesh_segmentation/examples/Surface_mesh_segmentation/CMakeLists.txt @@ -36,7 +36,7 @@ include( ${CGAL_USE_FILE} ) # Boost and its components -find_package( Boost REQUIRED ) +find_package( Boost ) if ( NOT Boost_FOUND ) diff --git a/Surface_mesh_simplification/examples/Surface_mesh_simplification/CMakeLists.txt b/Surface_mesh_simplification/examples/Surface_mesh_simplification/CMakeLists.txt index bb408d278f5..7848346c654 100644 --- a/Surface_mesh_simplification/examples/Surface_mesh_simplification/CMakeLists.txt +++ b/Surface_mesh_simplification/examples/Surface_mesh_simplification/CMakeLists.txt @@ -36,7 +36,7 @@ include( ${CGAL_USE_FILE} ) # Boost and its components -find_package( Boost REQUIRED ) +find_package( Boost ) if ( NOT Boost_FOUND )