From 04db43556f469d4ddadbaf242582f7888f5df309 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Mon, 13 Jul 2015 15:55:41 +0200 Subject: [PATCH] Do not warn when Qt5 is not found. --- AABB_tree/demo/AABB_tree/CMakeLists.txt | 2 +- Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt | 2 +- .../demo/Arrangement_on_surface_2/CMakeLists.txt | 2 +- .../demo/Boolean_set_operations_2_GraphicsView/CMakeLists.txt | 2 +- Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt | 2 +- GraphicsView/demo/Alpha_shapes_2/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/Segment_Delaunay_graph_2/CMakeLists.txt | 2 +- GraphicsView/demo/Segment_Delaunay_graph_Linf_2/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 +- GraphicsView/src/CGAL_Qt5/CMakeLists.txt | 2 +- Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt | 2 +- Mesh_3/demo/Mesh_3/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 +- Polyhedron/demo/Polyhedron/implicit_functions/CMakeLists.txt | 2 +- .../demo/Polyline_simplification_2/CMakeLists.txt | 2 +- .../demo/Principal_component_analysis/CMakeLists.txt | 2 +- Surface_mesher/demo/Surface_mesher/CMakeLists.txt | 2 +- Triangulation_3/demo/Triangulation_3/CMakeLists.txt | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/AABB_tree/demo/AABB_tree/CMakeLists.txt b/AABB_tree/demo/AABB_tree/CMakeLists.txt index cec72a6421c..0b47164a64e 100644 --- a/AABB_tree/demo/AABB_tree/CMakeLists.txt +++ b/AABB_tree/demo/AABB_tree/CMakeLists.txt @@ -18,7 +18,7 @@ find_package(CGAL COMPONENTS Qt5 ) include( ${CGAL_USE_FILE} ) # Find Qt5 itself -find_package(Qt5 COMPONENTS Xml Script OpenGL Gui Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Gui Svg) # Find OpenGL find_package(OpenGL) diff --git a/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt b/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt index 36173ed36b4..6613a7714f8 100644 --- a/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt +++ b/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt @@ -14,7 +14,7 @@ endif() find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) find_package(OpenGL) find_package(QGLViewer) diff --git a/Arrangement_on_surface_2/demo/Arrangement_on_surface_2/CMakeLists.txt b/Arrangement_on_surface_2/demo/Arrangement_on_surface_2/CMakeLists.txt index e0bdb28e7b3..b6843be43ae 100644 --- a/Arrangement_on_surface_2/demo/Arrangement_on_surface_2/CMakeLists.txt +++ b/Arrangement_on_surface_2/demo/Arrangement_on_surface_2/CMakeLists.txt @@ -10,7 +10,7 @@ endif() find_package(CGAL COMPONENTS Core Qt5 ) include( ${CGAL_USE_FILE} ) -find_package( Qt5 COMPONENTS Script Widgets ) +find_package( Qt5 QUIET COMPONENTS Script Widgets ) if ( CGAL_FOUND AND CGAL_Qt5_FOUND AND Qt5_FOUND) include_directories( ./ ) diff --git a/Boolean_set_operations_2/demo/Boolean_set_operations_2_GraphicsView/CMakeLists.txt b/Boolean_set_operations_2/demo/Boolean_set_operations_2_GraphicsView/CMakeLists.txt index b76eefa5469..0f4fff94847 100644 --- a/Boolean_set_operations_2/demo/Boolean_set_operations_2_GraphicsView/CMakeLists.txt +++ b/Boolean_set_operations_2/demo/Boolean_set_operations_2_GraphicsView/CMakeLists.txt @@ -14,7 +14,7 @@ include(${CGAL_USE_FILE}) set( QT_USE_QTMAIN TRUE ) -find_package(Qt5 COMPONENTS Widgets Script) +find_package(Qt5 QUIET COMPONENTS Widgets Script) include_directories (BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../include ) include_directories (BEFORE ${CMAKE_CURRENT_BINARY_DIR}) diff --git a/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt b/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt index 5cd80fabca5..698a7791efc 100644 --- a/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt +++ b/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt @@ -8,7 +8,7 @@ endif() find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL) find_package(OpenGL) find_package(QGLViewer) diff --git a/GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt b/GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt index 493816e8e25..66675dd5063 100644 --- a/GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt +++ b/GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ./include) diff --git a/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt b/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt index 40e1b7aaa50..4b6589baba5 100644 --- a/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt +++ b/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) diff --git a/GraphicsView/demo/Bounding_volumes/CMakeLists.txt b/GraphicsView/demo/Bounding_volumes/CMakeLists.txt index e814d5f1df5..94b21534a5e 100644 --- a/GraphicsView/demo/Bounding_volumes/CMakeLists.txt +++ b/GraphicsView/demo/Bounding_volumes/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ./include) include_directories (BEFORE ../../../Matrix_search/include) diff --git a/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt b/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt index 658bb01c7f8..14de363998b 100644 --- a/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt +++ b/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt @@ -14,7 +14,7 @@ include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) diff --git a/GraphicsView/demo/Generator/CMakeLists.txt b/GraphicsView/demo/Generator/CMakeLists.txt index ea06203df7d..03ecc8f3945 100644 --- a/GraphicsView/demo/Generator/CMakeLists.txt +++ b/GraphicsView/demo/Generator/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) diff --git a/GraphicsView/demo/GraphicsView/CMakeLists.txt b/GraphicsView/demo/GraphicsView/CMakeLists.txt index 84e4dbbf4df..2012948280f 100644 --- a/GraphicsView/demo/GraphicsView/CMakeLists.txt +++ b/GraphicsView/demo/GraphicsView/CMakeLists.txt @@ -11,7 +11,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) if ( CGAL_FOUND AND CGAL_Qt5_FOUND AND Qt5_FOUND ) diff --git a/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt b/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt index 1d321d45047..1a41c660c21 100644 --- a/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt +++ b/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ./include) diff --git a/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt b/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt index 371082b344e..51ee7e854de 100644 --- a/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt +++ b/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) diff --git a/GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt b/GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt index 7d8ff03782c..cb1a4a8df9c 100644 --- a/GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt +++ b/GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt @@ -11,7 +11,7 @@ include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../../include) include_directories (BEFORE ./include) diff --git a/GraphicsView/demo/Polygon/CMakeLists.txt b/GraphicsView/demo/Polygon/CMakeLists.txt index 20fc3dc2fd0..bfe8288eb64 100644 --- a/GraphicsView/demo/Polygon/CMakeLists.txt +++ b/GraphicsView/demo/Polygon/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5 Core) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) diff --git a/GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt b/GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt index 5aa864208d3..0377456c903 100644 --- a/GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt +++ b/GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt @@ -18,7 +18,7 @@ set( QT_USE_QTSCRIPT TRUE ) set( QT_USE_QTOPENGL TRUE ) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ./include) diff --git a/GraphicsView/demo/Segment_Delaunay_graph_Linf_2/CMakeLists.txt b/GraphicsView/demo/Segment_Delaunay_graph_Linf_2/CMakeLists.txt index 7052f99871d..dd00fe2349a 100644 --- a/GraphicsView/demo/Segment_Delaunay_graph_Linf_2/CMakeLists.txt +++ b/GraphicsView/demo/Segment_Delaunay_graph_Linf_2/CMakeLists.txt @@ -18,7 +18,7 @@ set( QT_USE_QTSCRIPT TRUE ) set( QT_USE_QTOPENGL TRUE ) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ./include) diff --git a/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt b/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt index ba03c2f1e0b..da969e599d7 100644 --- a/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt +++ b/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ../../../Snap_rounding_2/include) diff --git a/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt b/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt index e541182aa5e..f23272aebbd 100644 --- a/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt +++ b/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ../../../Spatial_searching/include) diff --git a/GraphicsView/demo/Stream_lines_2/CMakeLists.txt b/GraphicsView/demo/Stream_lines_2/CMakeLists.txt index bf778783aa0..7c3524889f6 100644 --- a/GraphicsView/demo/Stream_lines_2/CMakeLists.txt +++ b/GraphicsView/demo/Stream_lines_2/CMakeLists.txt @@ -13,7 +13,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) diff --git a/GraphicsView/demo/Triangulation_2/CMakeLists.txt b/GraphicsView/demo/Triangulation_2/CMakeLists.txt index 30a921133ae..ee7be01bc3b 100644 --- a/GraphicsView/demo/Triangulation_2/CMakeLists.txt +++ b/GraphicsView/demo/Triangulation_2/CMakeLists.txt @@ -13,7 +13,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ./include) diff --git a/GraphicsView/src/CGAL_Qt5/CMakeLists.txt b/GraphicsView/src/CGAL_Qt5/CMakeLists.txt index af85c98a80d..2ae249244e6 100644 --- a/GraphicsView/src/CGAL_Qt5/CMakeLists.txt +++ b/GraphicsView/src/CGAL_Qt5/CMakeLists.txt @@ -4,7 +4,7 @@ if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif() -find_package(Qt5 COMPONENTS OpenGL Svg QUIET) +find_package(Qt5 QUIET COMPONENTS OpenGL Svg QUIET) find_package(OpenGL QUIET ) diff --git a/Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt b/Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt index 99cf299301d..00a9cb20db1 100644 --- a/Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt +++ b/Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt @@ -33,7 +33,7 @@ add_definitions(-DCGAL_PROFILE_LCC_DEMO) find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Svg) find_package(OpenGL) find_package(QGLViewer) diff --git a/Mesh_3/demo/Mesh_3/CMakeLists.txt b/Mesh_3/demo/Mesh_3/CMakeLists.txt index cc50e4cb13e..9c46df44a78 100644 --- a/Mesh_3/demo/Mesh_3/CMakeLists.txt +++ b/Mesh_3/demo/Mesh_3/CMakeLists.txt @@ -92,7 +92,7 @@ if( TBB_FOUND ) endif() # Find Qt5 itself -find_package(Qt5 COMPONENTS Xml Script OpenGL) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL) # Find OpenGL find_package(OpenGL) diff --git a/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt b/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt index 2e1ab09d1eb..5eb15b4e69a 100644 --- a/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt +++ b/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt @@ -18,7 +18,7 @@ find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) # Find Qt5 itself -find_package(Qt5 COMPONENTS Xml Script OpenGL) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL) if(CGAL_Qt5_FOUND AND Qt5_FOUND) 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 bec91348456..1b85f8b8d0f 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 @@ -14,7 +14,7 @@ find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) # Find Qt5 itself -find_package(Qt5 COMPONENTS Xml OpenGL Help Core) +find_package(Qt5 QUIET COMPONENTS Xml OpenGL Help Core) # Find OpenGL find_package(OpenGL) 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 182362cc9c0..ceb4ec01f70 100644 --- a/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt +++ b/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt @@ -16,7 +16,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script Help OpenGL Svg) +find_package(Qt5 QUIET COMPONENTS Xml Script Help OpenGL Svg) find_package(OpenGL) diff --git a/Polyhedron/demo/Polyhedron/CMakeLists.txt b/Polyhedron/demo/Polyhedron/CMakeLists.txt index 3b49146afbf..795e939db30 100644 --- a/Polyhedron/demo/Polyhedron/CMakeLists.txt +++ b/Polyhedron/demo/Polyhedron/CMakeLists.txt @@ -55,7 +55,7 @@ if( POLYHEDRON_QTSCRIPT_DEBUGGER) endif() find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) -find_package(Qt5 COMPONENTS OpenGL Script Svg Xml ScriptTools) +find_package(Qt5 QUIET COMPONENTS OpenGL Script Svg Xml ScriptTools) # Find OpenGL find_package(OpenGL) diff --git a/Polyhedron/demo/Polyhedron/implicit_functions/CMakeLists.txt b/Polyhedron/demo/Polyhedron/implicit_functions/CMakeLists.txt index 3152d9b9be9..ad72844a01c 100644 --- a/Polyhedron/demo/Polyhedron/implicit_functions/CMakeLists.txt +++ b/Polyhedron/demo/Polyhedron/implicit_functions/CMakeLists.txt @@ -22,7 +22,7 @@ set( QT_USE_QTXML TRUE ) set( QT_USE_QTMAIN TRUE ) set( QT_USE_QTSCRIPT TRUE ) set( QT_USE_QTOPENGL TRUE ) -find_package(Qt5 COMPONENTS Xml Script OpenGL ScriptTools ) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL ScriptTools ) if(CGAL_Qt5_FOUND AND Qt5_FOUND) diff --git a/Polyline_simplification_2/demo/Polyline_simplification_2/CMakeLists.txt b/Polyline_simplification_2/demo/Polyline_simplification_2/CMakeLists.txt index c159d31b2ce..79fe76826ca 100644 --- a/Polyline_simplification_2/demo/Polyline_simplification_2/CMakeLists.txt +++ b/Polyline_simplification_2/demo/Polyline_simplification_2/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL Widgets) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL Widgets) include_directories (BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/include) include_directories (BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../include ) diff --git a/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt b/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt index dc03be3282f..60863f5c1f1 100644 --- a/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt +++ b/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(CGAL COMPONENTS Qt5) include( ${CGAL_USE_FILE} ) # Find Qt5 itself -find_package(Qt5 COMPONENTS Xml Script OpenGL) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL) # Find OpenGL find_package(OpenGL) diff --git a/Surface_mesher/demo/Surface_mesher/CMakeLists.txt b/Surface_mesher/demo/Surface_mesher/CMakeLists.txt index da54c48c9fa..be927698eb9 100644 --- a/Surface_mesher/demo/Surface_mesher/CMakeLists.txt +++ b/Surface_mesher/demo/Surface_mesher/CMakeLists.txt @@ -41,7 +41,7 @@ if ( CGAL_FOUND AND CGAL_Qt5_FOUND AND CGAL_ImageIO_FOUND) add_definitions(-DQT_NO_KEYWORDS) include( ${CGAL_USE_FILE} ) - find_package(Qt5 COMPONENTS OpenGL Xml ) + find_package(Qt5 QUIET COMPONENTS OpenGL Xml ) find_package(QGLViewer ) find_package(OpenGL ) diff --git a/Triangulation_3/demo/Triangulation_3/CMakeLists.txt b/Triangulation_3/demo/Triangulation_3/CMakeLists.txt index 425bb97fd15..27928a808fc 100644 --- a/Triangulation_3/demo/Triangulation_3/CMakeLists.txt +++ b/Triangulation_3/demo/Triangulation_3/CMakeLists.txt @@ -17,7 +17,7 @@ find_package(CGAL COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL) +find_package(Qt5 QUIET COMPONENTS Xml Script OpenGL) find_package(OpenGL)