diff --git a/AABB_tree/demo/AABB_tree/CMakeLists.txt b/AABB_tree/demo/AABB_tree/CMakeLists.txt index 5e882019dfc..64ad2ed3b68 100644 --- a/AABB_tree/demo/AABB_tree/CMakeLists.txt +++ b/AABB_tree/demo/AABB_tree/CMakeLists.txt @@ -3,6 +3,7 @@ project( AABB_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Include this package's headers first include_directories( BEFORE ./ ./include ../../include ) diff --git a/AABB_tree/examples/AABB_tree/CMakeLists.txt b/AABB_tree/examples/AABB_tree/CMakeLists.txt index 2ee8d732e4f..f064a73d880 100644 --- a/AABB_tree/examples/AABB_tree/CMakeLists.txt +++ b/AABB_tree/examples/AABB_tree/CMakeLists.txt @@ -4,6 +4,7 @@ project(AABB_examples) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) include_directories(../../include/) diff --git a/Algebraic_kernel_d/examples/Algebraic_kernel_d/CMakeLists.txt b/Algebraic_kernel_d/examples/Algebraic_kernel_d/CMakeLists.txt index 7496a0435d7..7137f7f0460 100644 --- a/Algebraic_kernel_d/examples/Algebraic_kernel_d/CMakeLists.txt +++ b/Algebraic_kernel_d/examples/Algebraic_kernel_d/CMakeLists.txt @@ -5,6 +5,7 @@ project( Algebraic_kernel_d_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core) diff --git a/Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt b/Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt index 160fccf5d18..35bce85685f 100644 --- a/Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt +++ b/Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt @@ -5,6 +5,7 @@ project( Algebraic_kernel_d_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt b/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt index 458d6f10958..eafba82b0f3 100644 --- a/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt +++ b/Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt @@ -4,6 +4,7 @@ project (Alpha_shape_3) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) include(${CGAL_USE_FILE}) diff --git a/Arithmetic_kernel/test/Arithmetic_kernel/CMakeLists.txt b/Arithmetic_kernel/test/Arithmetic_kernel/CMakeLists.txt index 6b671f511f6..221be80c203 100644 --- a/Arithmetic_kernel/test/Arithmetic_kernel/CMakeLists.txt +++ b/Arithmetic_kernel/test/Arithmetic_kernel/CMakeLists.txt @@ -5,6 +5,7 @@ project( Arithmetic_kernel_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) 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 666168750e2..74b824f01c9 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 @@ -3,6 +3,7 @@ project( Arrangement_2 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 Core ) diff --git a/Boolean_set_operations_2/demo/Boolean_set_operations_2/CMakeLists.txt b/Boolean_set_operations_2/demo/Boolean_set_operations_2/CMakeLists.txt index a8f3cf529bd..941200c6848 100644 --- a/Boolean_set_operations_2/demo/Boolean_set_operations_2/CMakeLists.txt +++ b/Boolean_set_operations_2/demo/Boolean_set_operations_2/CMakeLists.txt @@ -3,6 +3,7 @@ project( Boolean_operations_2 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) 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 d28f6ecf166..fdbcb6f6012 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 @@ -4,6 +4,7 @@ project( Boolean_operations_2_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4 Core ) diff --git a/CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt b/CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt index cbf425a0a42..a9b320a7737 100644 --- a/CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt +++ b/CGAL_ipelets/demo/CGAL_ipelets/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) #path where to build libraries diff --git a/CGALimageIO/demo/CGALimageIO/CMakeLists.txt b/CGALimageIO/demo/CGALimageIO/CMakeLists.txt index 86beb0379ba..3ad02247dc5 100644 --- a/CGALimageIO/demo/CGALimageIO/CMakeLists.txt +++ b/CGALimageIO/demo/CGALimageIO/CMakeLists.txt @@ -1,6 +1,7 @@ project(image_to_vtk_viewer) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) set(PACKAGE_ROOT ../..) diff --git a/CGALimageIO/examples/CGALimageIO/CMakeLists.txt b/CGALimageIO/examples/CGALimageIO/CMakeLists.txt index 04f556d723b..5f16b2e686e 100644 --- a/CGALimageIO/examples/CGALimageIO/CMakeLists.txt +++ b/CGALimageIO/examples/CGALimageIO/CMakeLists.txt @@ -4,6 +4,7 @@ project( CGALImageIO_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS ImageIO ) diff --git a/CGALimageIO/test/CGALimageIO/CMakeLists.txt b/CGALimageIO/test/CGALimageIO/CMakeLists.txt index d46cf489986..8e232253631 100644 --- a/CGALimageIO/test/CGALimageIO/CMakeLists.txt +++ b/CGALimageIO/test/CGALimageIO/CMakeLists.txt @@ -5,6 +5,7 @@ project( CGALImageIO_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) include_directories(../../include) diff --git a/Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt b/Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt index 62ea09dd4e3..f84f85882d5 100644 --- a/Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt +++ b/Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt @@ -5,6 +5,7 @@ project( Circular_kernel_2_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt b/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt index dc924619d21..8f2ca77a647 100644 --- a/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt +++ b/Circular_kernel_3/demo/Circular_kernel_3/CMakeLists.txt @@ -1,6 +1,7 @@ project (Circular_kernel_3) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) include(${CGAL_USE_FILE}) diff --git a/Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt b/Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt index 3956e42e093..d5613ebbe59 100644 --- a/Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt +++ b/Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt @@ -5,6 +5,7 @@ project( Circular_kernel_3_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Convex_decomposition_3/demo/Convex_decomposition_3/CMakeLists.txt b/Convex_decomposition_3/demo/Convex_decomposition_3/CMakeLists.txt index f278b99c6e8..7d2e06e672b 100644 --- a/Convex_decomposition_3/demo/Convex_decomposition_3/CMakeLists.txt +++ b/Convex_decomposition_3/demo/Convex_decomposition_3/CMakeLists.txt @@ -3,6 +3,7 @@ project( Convex_decomposition_3 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Convex_hull_2/demo/Convex_hull_2/CMakeLists.txt b/Convex_hull_2/demo/Convex_hull_2/CMakeLists.txt index 4f16cc5eaf5..fd6a2806733 100644 --- a/Convex_hull_2/demo/Convex_hull_2/CMakeLists.txt +++ b/Convex_hull_2/demo/Convex_hull_2/CMakeLists.txt @@ -3,6 +3,7 @@ project( convex_hull_2 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Convex_hull_3/demo/Convex_hull_3/CMakeLists.txt b/Convex_hull_3/demo/Convex_hull_3/CMakeLists.txt index 90d5f1c91f0..2f4bfbd8c4e 100644 --- a/Convex_hull_3/demo/Convex_hull_3/CMakeLists.txt +++ b/Convex_hull_3/demo/Convex_hull_3/CMakeLists.txt @@ -5,6 +5,7 @@ project( Convex_hull_3_Demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Convex_hull_d/demo/Convex_hull_d/CMakeLists.txt b/Convex_hull_d/demo/Convex_hull_d/CMakeLists.txt index f9b1da7bb89..684303fdd07 100644 --- a/Convex_hull_d/demo/Convex_hull_d/CMakeLists.txt +++ b/Convex_hull_d/demo/Convex_hull_d/CMakeLists.txt @@ -5,6 +5,7 @@ project( Convex_hull_d_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Core ) diff --git a/Core/src/CGALCore/CMakeLists.txt b/Core/src/CGALCore/CMakeLists.txt index 1a8d1ac7ffc..e288f80cc1f 100644 --- a/Core/src/CGALCore/CMakeLists.txt +++ b/Core/src/CGALCore/CMakeLists.txt @@ -1,6 +1,10 @@ project (CGAL_Core) -cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR) +# Minimal version of CMake: +cmake_minimum_required(VERSION 2.6.2) + +# Tested version: +cmake_policy(VERSION 2.8.4) if ( NOT CGAL_FOUND ) find_package(CGAL REQUIRED) diff --git a/Envelope_3/demo/Envelope_3/CMakeLists.txt b/Envelope_3/demo/Envelope_3/CMakeLists.txt index afe285d6dec..a9179af665c 100644 --- a/Envelope_3/demo/Envelope_3/CMakeLists.txt +++ b/Envelope_3/demo/Envelope_3/CMakeLists.txt @@ -5,6 +5,7 @@ project( Envelope_3_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core Qt3 ) diff --git a/Filtered_kernel/benchmark/Filtered_kernel/CMakeLists.txt b/Filtered_kernel/benchmark/Filtered_kernel/CMakeLists.txt index caaf5a021c4..b9ea7b88b01 100644 --- a/Filtered_kernel/benchmark/Filtered_kernel/CMakeLists.txt +++ b/Filtered_kernel/benchmark/Filtered_kernel/CMakeLists.txt @@ -5,6 +5,7 @@ project( Filtered_kernel_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) add_executable(bench_simple_comparisons bench_simple_comparisons.cpp) diff --git a/Generator/benchmark/Generator/CMakeLists.txt b/Generator/benchmark/Generator/CMakeLists.txt index 688df06c647..a34e5b75313 100644 --- a/Generator/benchmark/Generator/CMakeLists.txt +++ b/Generator/benchmark/Generator/CMakeLists.txt @@ -5,6 +5,7 @@ project( Generator_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Geomview/demo/Geomview/CMakeLists.txt b/Geomview/demo/Geomview/CMakeLists.txt index f19bb296d72..e8d3119a9aa 100644 --- a/Geomview/demo/Geomview/CMakeLists.txt +++ b/Geomview/demo/Geomview/CMakeLists.txt @@ -5,6 +5,7 @@ project( Geomview_Demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt b/GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt index 5551469128c..e6fa98de159 100644 --- a/GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt +++ b/GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Alpha_shapes_2_demo) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt b/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt index 807f7d7d607..230bbaaf388 100644 --- a/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt +++ b/GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Apollonius_graph_2_demo) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Bounding_volumes/CMakeLists.txt b/GraphicsView/demo/Bounding_volumes/CMakeLists.txt index 95b47f9122e..975892b0178 100644 --- a/GraphicsView/demo/Bounding_volumes/CMakeLists.txt +++ b/GraphicsView/demo/Bounding_volumes/CMakeLists.txt @@ -4,6 +4,7 @@ project (Bounding_volumes) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt b/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt index 677297e9c70..7d73ef29ba5 100644 --- a/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt +++ b/GraphicsView/demo/Circular_kernel_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Circular_kernel_2) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Generator/CMakeLists.txt b/GraphicsView/demo/Generator/CMakeLists.txt index c578009afe6..4fbd60a81f8 100644 --- a/GraphicsView/demo/Generator/CMakeLists.txt +++ b/GraphicsView/demo/Generator/CMakeLists.txt @@ -4,6 +4,7 @@ project (GeneratorDemo) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/GraphicsView/CMakeLists.txt b/GraphicsView/demo/GraphicsView/CMakeLists.txt index 42a92ce1b51..0c9126d1022 100644 --- a/GraphicsView/demo/GraphicsView/CMakeLists.txt +++ b/GraphicsView/demo/GraphicsView/CMakeLists.txt @@ -3,6 +3,7 @@ project (GraphicsView) cmake_minimum_required(VERSION 2.4) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt b/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt index a681c9312f2..f42fb20f318 100644 --- a/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt +++ b/GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (L1_voronoi_diagram_2) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt b/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt index 952998e6fae..f87445c36c2 100644 --- a/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt +++ b/GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Largest_empty_rectangleDemo) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Polygon/CMakeLists.txt b/GraphicsView/demo/Polygon/CMakeLists.txt index 8ab373c499d..5d67ee91d12 100644 --- a/GraphicsView/demo/Polygon/CMakeLists.txt +++ b/GraphicsView/demo/Polygon/CMakeLists.txt @@ -4,6 +4,7 @@ project (GraphicsView) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4 Core) diff --git a/GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt b/GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt index d0a1661006e..b650ec8fd40 100644 --- a/GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt +++ b/GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Segment_voronoi_2) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4 Core) diff --git a/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt b/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt index e9e75f4266f..748b23aea5b 100644 --- a/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt +++ b/GraphicsView/demo/Snap_rounding_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Snap_rounding_2_demo) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt b/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt index 52dd5522162..4ac81eae4b4 100644 --- a/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt +++ b/GraphicsView/demo/Spatial_searching_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Spatial_searchingDemo) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Stream_lines_2/CMakeLists.txt b/GraphicsView/demo/Stream_lines_2/CMakeLists.txt index 656942a0969..d71ceecfe84 100644 --- a/GraphicsView/demo/Stream_lines_2/CMakeLists.txt +++ b/GraphicsView/demo/Stream_lines_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Stream_lines_2_demo) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/GraphicsView/demo/Triangulation_2/CMakeLists.txt b/GraphicsView/demo/Triangulation_2/CMakeLists.txt index 03b19380d9f..0f9198e7b80 100644 --- a/GraphicsView/demo/Triangulation_2/CMakeLists.txt +++ b/GraphicsView/demo/Triangulation_2/CMakeLists.txt @@ -4,6 +4,7 @@ project (Triangulation_2) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) diff --git a/Installation/test/Installation/CMakeLists.txt b/Installation/test/Installation/CMakeLists.txt index b0310f86428..9ab20ef1649 100644 --- a/Installation/test/Installation/CMakeLists.txt +++ b/Installation/test/Installation/CMakeLists.txt @@ -5,6 +5,7 @@ project( Installation_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) macro(create_link_to_program COMPONENT ) diff --git a/Interpolation/demo/Interpolation/CMakeLists.txt b/Interpolation/demo/Interpolation/CMakeLists.txt index 7c042a568c5..bd7ed57963e 100644 --- a/Interpolation/demo/Interpolation/CMakeLists.txt +++ b/Interpolation/demo/Interpolation/CMakeLists.txt @@ -5,6 +5,7 @@ project( Interpolation_Demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt b/Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt index 0b8158f02ba..cb0bfb1eefe 100644 --- a/Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt +++ b/Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt @@ -5,6 +5,7 @@ project( Jet_fitting_3_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt b/Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt index 820b3e89e83..07c4e01f949 100644 --- a/Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt +++ b/Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt @@ -5,6 +5,7 @@ project( Jet_fitting_3_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Kernel_23/test/Kernel_23/CMakeLists.txt b/Kernel_23/test/Kernel_23/CMakeLists.txt index 4b9ef18eb39..60bb7e891b9 100644 --- a/Kernel_23/test/Kernel_23/CMakeLists.txt +++ b/Kernel_23/test/Kernel_23/CMakeLists.txt @@ -4,6 +4,7 @@ project (Kernel_23_Test) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL) diff --git a/Kinetic_data_structures/demo/Kinetic_data_structures/CMakeLists.txt b/Kinetic_data_structures/demo/Kinetic_data_structures/CMakeLists.txt index 3c005f1baf6..b14d4c23e43 100644 --- a/Kinetic_data_structures/demo/Kinetic_data_structures/CMakeLists.txt +++ b/Kinetic_data_structures/demo/Kinetic_data_structures/CMakeLists.txt @@ -3,6 +3,7 @@ project( Kinetic_data_structures_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 Core) diff --git a/Matrix_search/demo/Matrix_search/CMakeLists.txt b/Matrix_search/demo/Matrix_search/CMakeLists.txt index 51798fe1a98..2645736554a 100644 --- a/Matrix_search/demo/Matrix_search/CMakeLists.txt +++ b/Matrix_search/demo/Matrix_search/CMakeLists.txt @@ -3,6 +3,7 @@ project( Matrix_search_Demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Mesh_2/demo/Mesh_2/CMakeLists.txt b/Mesh_2/demo/Mesh_2/CMakeLists.txt index 7a9e7921bdd..7cd014f445f 100644 --- a/Mesh_2/demo/Mesh_2/CMakeLists.txt +++ b/Mesh_2/demo/Mesh_2/CMakeLists.txt @@ -4,6 +4,7 @@ project( mesh_2_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) add_subdirectory(Qt3) diff --git a/Mesh_2/demo/Mesh_2/Qt3/CMakeLists.txt b/Mesh_2/demo/Mesh_2/Qt3/CMakeLists.txt index 78c1042527b..f6e81755bdc 100644 --- a/Mesh_2/demo/Mesh_2/Qt3/CMakeLists.txt +++ b/Mesh_2/demo/Mesh_2/Qt3/CMakeLists.txt @@ -4,7 +4,8 @@ project( mesh_2_qt3_demo ) -CMAKE_MINIMUM_REQUIRED(VERSION 2.6.2) +cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Core Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Mesh_3/demo/Mesh_3/CMakeLists.txt b/Mesh_3/demo/Mesh_3/CMakeLists.txt index 777a7c30fd2..06368abbb3c 100644 --- a/Mesh_3/demo/Mesh_3/CMakeLists.txt +++ b/Mesh_3/demo/Mesh_3/CMakeLists.txt @@ -3,6 +3,7 @@ project( Mesh_3_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) #option(MESH_3_DEMO_ENABLE_FORWARD_DECL "In the Mesh_3 demo, enable " OFF) #mark_as_advanced(MESH_3_DEMO_ENABLE_FORWARD_DECL) diff --git a/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt b/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt index a68ad3196c4..386d48cff46 100644 --- a/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt +++ b/Mesh_3/demo/Mesh_3/implicit_functions/CMakeLists.txt @@ -3,6 +3,7 @@ project( Mesh_3_implicit_functions ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Include directory of demo includes include_directories( BEFORE ${Mesh_3_implicit_functions_BINARY_DIR} ../include ) diff --git a/Mesh_3/examples/Mesh_3/CMakeLists.txt b/Mesh_3/examples/Mesh_3/CMakeLists.txt index 56eeb8cf124..fec481eea93 100644 --- a/Mesh_3/examples/Mesh_3/CMakeLists.txt +++ b/Mesh_3/examples/Mesh_3/CMakeLists.txt @@ -5,6 +5,7 @@ project( Mesh_3_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) include_directories(../../include) include_directories(../../../Triangulation_3/include) diff --git a/Mesh_3/test/Mesh_3/CMakeLists.txt b/Mesh_3/test/Mesh_3/CMakeLists.txt index 70e737736ce..f162d13e65c 100644 --- a/Mesh_3/test/Mesh_3/CMakeLists.txt +++ b/Mesh_3/test/Mesh_3/CMakeLists.txt @@ -5,6 +5,7 @@ project( Mesh_3_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ImageIO) diff --git a/Min_circle_2/demo/Min_circle_2/CMakeLists.txt b/Min_circle_2/demo/Min_circle_2/CMakeLists.txt index 646fad00170..ceb8f7e9c6a 100644 --- a/Min_circle_2/demo/Min_circle_2/CMakeLists.txt +++ b/Min_circle_2/demo/Min_circle_2/CMakeLists.txt @@ -3,6 +3,7 @@ project( Min_circle_2_Demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Min_ellipse_2/demo/Min_ellipse_2/CMakeLists.txt b/Min_ellipse_2/demo/Min_ellipse_2/CMakeLists.txt index c5b09aa2f62..8a0c1b9f5db 100644 --- a/Min_ellipse_2/demo/Min_ellipse_2/CMakeLists.txt +++ b/Min_ellipse_2/demo/Min_ellipse_2/CMakeLists.txt @@ -3,6 +3,7 @@ project( Min_ellipse_2_Demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Min_quadrilateral_2/demo/Min_quadrilateral_2/CMakeLists.txt b/Min_quadrilateral_2/demo/Min_quadrilateral_2/CMakeLists.txt index f1e5a7208da..f24029fb9c1 100644 --- a/Min_quadrilateral_2/demo/Min_quadrilateral_2/CMakeLists.txt +++ b/Min_quadrilateral_2/demo/Min_quadrilateral_2/CMakeLists.txt @@ -3,6 +3,7 @@ project( min_quadrilateral_2 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Nef_2/demo/Nef_2/CMakeLists.txt b/Nef_2/demo/Nef_2/CMakeLists.txt index f7f3b221ccc..85672695018 100644 --- a/Nef_2/demo/Nef_2/CMakeLists.txt +++ b/Nef_2/demo/Nef_2/CMakeLists.txt @@ -3,6 +3,7 @@ project( Nef_2 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Nef_3/demo/Nef_3/CMakeLists.txt b/Nef_3/demo/Nef_3/CMakeLists.txt index acf577f281f..22498e2c787 100644 --- a/Nef_3/demo/Nef_3/CMakeLists.txt +++ b/Nef_3/demo/Nef_3/CMakeLists.txt @@ -3,6 +3,7 @@ project (Nef_3_Demo) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3) include(${CGAL_USE_FILE}) diff --git a/Nef_S2/demo/Nef_S2/CMakeLists.txt b/Nef_S2/demo/Nef_S2/CMakeLists.txt index 5ef2bbfa0e7..c0b52352071 100644 --- a/Nef_S2/demo/Nef_S2/CMakeLists.txt +++ b/Nef_S2/demo/Nef_S2/CMakeLists.txt @@ -3,6 +3,7 @@ project( Nef_S2 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Number_types/test/Number_types/CMakeLists.txt b/Number_types/test/Number_types/CMakeLists.txt index 3fc0c170770..662f06948dc 100644 --- a/Number_types/test/Number_types/CMakeLists.txt +++ b/Number_types/test/Number_types/CMakeLists.txt @@ -6,6 +6,7 @@ project( Number_types_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package( CGAL QUIET COMPONENTS Core ) 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 e033c0ed2dd..51fcd2cc625 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 @@ -4,6 +4,7 @@ project( Periodic_3_triangulation_3_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Find CGAL find_package(CGAL) 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 084882d2216..f572ddd392a 100644 --- a/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt +++ b/Periodic_3_triangulation_3/demo/Periodic_Lloyd_3/CMakeLists.txt @@ -4,6 +4,7 @@ project (Periodic_Lloyd_3) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) include(${CGAL_USE_FILE}) diff --git a/Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt b/Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt index 2bf487bb1c2..f56899f0f52 100644 --- a/Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt +++ b/Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt @@ -3,6 +3,7 @@ project( Point_set_processing_3_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Require packages new or improved since CGAL 3.4 include_directories (BEFORE ../../../Installation/include/) diff --git a/Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt b/Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt index 266e959c6c2..724c27519f3 100644 --- a/Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt +++ b/Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt @@ -3,6 +3,7 @@ project( Point_set_processing_3_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Require packages new or improved since CGAL 3.4 include_directories (BEFORE ../../../Installation/include/) diff --git a/Polyhedron/demo/Polyhedron/CMakeLists.txt b/Polyhedron/demo/Polyhedron/CMakeLists.txt index 7bcab498169..80e42a5ecd5 100644 --- a/Polyhedron/demo/Polyhedron/CMakeLists.txt +++ b/Polyhedron/demo/Polyhedron/CMakeLists.txt @@ -3,6 +3,7 @@ project( Polyhedron ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) #option(POLYHEDRON_DEMO_ENABLE_FORWARD_DECL "In the Polyhedron demo, enable " OFF) #mark_as_advanced(POLYHEDRON_DEMO_ENABLE_FORWARD_DECL) diff --git a/Polyhedron_IO/demo/Polyhedron_IO/CMakeLists.txt b/Polyhedron_IO/demo/Polyhedron_IO/CMakeLists.txt index a59d997483c..50f140c72ad 100644 --- a/Polyhedron_IO/demo/Polyhedron_IO/CMakeLists.txt +++ b/Polyhedron_IO/demo/Polyhedron_IO/CMakeLists.txt @@ -5,6 +5,7 @@ project( Polyhedron_IO_Demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt b/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt index 1caea2b2978..630e02ac2a1 100644 --- a/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt +++ b/Principal_component_analysis/demo/Principal_component_analysis/CMakeLists.txt @@ -3,6 +3,7 @@ project( PCA_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) foreach(INCDIR ../../include ../../../STL_Extension/include ../../../GraphicsView/include ../../../filtered_kernel/include ) if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${INCDIR}") diff --git a/Qt_widget/test/Qt_widget/CMakeLists.txt b/Qt_widget/test/Qt_widget/CMakeLists.txt index 9831d6aef9a..a34c4a3d576 100644 --- a/Qt_widget/test/Qt_widget/CMakeLists.txt +++ b/Qt_widget/test/Qt_widget/CMakeLists.txt @@ -3,6 +3,7 @@ project( Qt_widget_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Ridges_3/examples/Ridges_3/CMakeLists.txt b/Ridges_3/examples/Ridges_3/CMakeLists.txt index 721a81555f9..294f27d50f7 100644 --- a/Ridges_3/examples/Ridges_3/CMakeLists.txt +++ b/Ridges_3/examples/Ridges_3/CMakeLists.txt @@ -2,6 +2,7 @@ project( Ridges_3_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET ) diff --git a/Ridges_3/test/Ridges_3/CMakeLists.txt b/Ridges_3/test/Ridges_3/CMakeLists.txt index e30308a00c4..917551950eb 100644 --- a/Ridges_3/test/Ridges_3/CMakeLists.txt +++ b/Ridges_3/test/Ridges_3/CMakeLists.txt @@ -5,6 +5,7 @@ project( Ridges_3_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Robustness/demo/Robustness/CMakeLists.txt b/Robustness/demo/Robustness/CMakeLists.txt index 48b674626fd..223c2c7179a 100644 --- a/Robustness/demo/Robustness/CMakeLists.txt +++ b/Robustness/demo/Robustness/CMakeLists.txt @@ -3,6 +3,7 @@ project( robustness ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} ) diff --git a/Segment_Delaunay_graph_2/benchmark/Segment_Delaunay_graph_2/CMakeLists.txt b/Segment_Delaunay_graph_2/benchmark/Segment_Delaunay_graph_2/CMakeLists.txt index 7082e13d846..e066ff87c19 100644 --- a/Segment_Delaunay_graph_2/benchmark/Segment_Delaunay_graph_2/CMakeLists.txt +++ b/Segment_Delaunay_graph_2/benchmark/Segment_Delaunay_graph_2/CMakeLists.txt @@ -5,6 +5,7 @@ project( Segment_Delaunay_graph_2_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt b/Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt index 7596a48bbaa..a8e60deb68d 100644 --- a/Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt +++ b/Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt @@ -4,6 +4,7 @@ project( Skin_surface_3_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL) diff --git a/Straight_skeleton_2/demo/Straight_skeleton_2/CMakeLists.txt b/Straight_skeleton_2/demo/Straight_skeleton_2/CMakeLists.txt index 108ee450ccf..7654184c559 100644 --- a/Straight_skeleton_2/demo/Straight_skeleton_2/CMakeLists.txt +++ b/Straight_skeleton_2/demo/Straight_skeleton_2/CMakeLists.txt @@ -3,6 +3,7 @@ project( straight_skeleton_2 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 Core ) include( ${CGAL_USE_FILE} ) diff --git a/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt b/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt index c30cac647d4..25040cf7fba 100644 --- a/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt +++ b/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt @@ -4,6 +4,7 @@ project( Surface_mesh_parameterization_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Require packages new or improved since CGAL 3.4 include_directories (BEFORE ../../../Installation/include/) diff --git a/Surface_mesh_parameterization/test/Surface_mesh_parameterization/CMakeLists.txt b/Surface_mesh_parameterization/test/Surface_mesh_parameterization/CMakeLists.txt index 2b195a95d66..30201a9ec3f 100644 --- a/Surface_mesh_parameterization/test/Surface_mesh_parameterization/CMakeLists.txt +++ b/Surface_mesh_parameterization/test/Surface_mesh_parameterization/CMakeLists.txt @@ -4,6 +4,7 @@ project( Surface_mesh_parameterization_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Require packages new or improved since CGAL 3.4 include_directories (BEFORE ../../../Installation/include/) diff --git a/Surface_mesher/demo/Surface_mesher/CMakeLists.txt b/Surface_mesher/demo/Surface_mesher/CMakeLists.txt index b2b401251bb..82f0edf36ea 100644 --- a/Surface_mesher/demo/Surface_mesher/CMakeLists.txt +++ b/Surface_mesher/demo/Surface_mesher/CMakeLists.txt @@ -3,6 +3,7 @@ set ( prj Surface_mesher ) project ( ${prj} ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) set(PACKAGE_ROOT ../..) diff --git a/Surface_mesher/examples/Surface_mesher/CMakeLists.txt b/Surface_mesher/examples/Surface_mesher/CMakeLists.txt index 8c5712ad249..b4cfe2ed0b7 100644 --- a/Surface_mesher/examples/Surface_mesher/CMakeLists.txt +++ b/Surface_mesher/examples/Surface_mesher/CMakeLists.txt @@ -4,6 +4,7 @@ project( Surface_mesher_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) include_directories(../../include) diff --git a/Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/CMakeLists.txt b/Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/CMakeLists.txt index ff022393bd7..cd159c2ac1f 100644 --- a/Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/CMakeLists.txt +++ b/Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/CMakeLists.txt @@ -3,6 +3,7 @@ project( Point_set_demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) #option(POINT_SET_DEMO_ENABLE_FORWARD_DECL "In the Point Set demo, enable " OFF) #mark_as_advanced(POINT_SET_DEMO_ENABLE_FORWARD_DECL) diff --git a/Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/GlSplat/CMakeLists.txt b/Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/GlSplat/CMakeLists.txt index 44f6ca86b5d..2a1ccf25b56 100644 --- a/Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/GlSplat/CMakeLists.txt +++ b/Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/GlSplat/CMakeLists.txt @@ -2,6 +2,7 @@ project(GlSplat) cmake_minimum_required(VERSION 2.6.0) +cmake_policy(VERSION 2.8.4) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) find_package(Qt4 REQUIRED) diff --git a/Surface_reconstruction_points_3/examples/Surface_reconstruction_points_3/CMakeLists.txt b/Surface_reconstruction_points_3/examples/Surface_reconstruction_points_3/CMakeLists.txt index c4801f0a6ef..ce43eb7d5a1 100644 --- a/Surface_reconstruction_points_3/examples/Surface_reconstruction_points_3/CMakeLists.txt +++ b/Surface_reconstruction_points_3/examples/Surface_reconstruction_points_3/CMakeLists.txt @@ -3,6 +3,7 @@ project( Surface_reconstruction_points_3_example ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Require packages new or improved since CGAL 3.5 beta 1 include_directories (BEFORE ../../../Installation/include) diff --git a/Surface_reconstruction_points_3/test/Surface_reconstruction_points_3/CMakeLists.txt b/Surface_reconstruction_points_3/test/Surface_reconstruction_points_3/CMakeLists.txt index b1c4eda6c92..de8f4586cdc 100644 --- a/Surface_reconstruction_points_3/test/Surface_reconstruction_points_3/CMakeLists.txt +++ b/Surface_reconstruction_points_3/test/Surface_reconstruction_points_3/CMakeLists.txt @@ -3,6 +3,7 @@ project( Surface_reconstruction_points_3_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) # Require packages new or improved since CGAL 3.5 beta 1 include_directories (BEFORE ../../../Installation/include/) diff --git a/Triangulation_2/benchmark/Triangulation_2/CMakeLists.txt b/Triangulation_2/benchmark/Triangulation_2/CMakeLists.txt index 8dceff46ce8..53e9dd1c67b 100644 --- a/Triangulation_2/benchmark/Triangulation_2/CMakeLists.txt +++ b/Triangulation_2/benchmark/Triangulation_2/CMakeLists.txt @@ -5,6 +5,7 @@ project( Triangulation_2_test ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Triangulation_3/demo/Triangulation_3/CMakeLists.txt b/Triangulation_3/demo/Triangulation_3/CMakeLists.txt index 0468512e4ba..5bad91a771c 100644 --- a/Triangulation_3/demo/Triangulation_3/CMakeLists.txt +++ b/Triangulation_3/demo/Triangulation_3/CMakeLists.txt @@ -4,6 +4,7 @@ project (Triangulation_demo_3) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt4) include(${CGAL_USE_FILE}) diff --git a/Triangulation_3/demo/Triangulation_3_Geomview_demos/CMakeLists.txt b/Triangulation_3/demo/Triangulation_3_Geomview_demos/CMakeLists.txt index 59dc3f9cb25..6cb475dc954 100644 --- a/Triangulation_3/demo/Triangulation_3_Geomview_demos/CMakeLists.txt +++ b/Triangulation_3/demo/Triangulation_3_Geomview_demos/CMakeLists.txt @@ -5,6 +5,7 @@ project( Triangulation_3_Demo ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL QUIET COMPONENTS Core ) diff --git a/Voronoi_diagram_2/demo/Voronoi_diagram_2/CMakeLists.txt b/Voronoi_diagram_2/demo/Voronoi_diagram_2/CMakeLists.txt index 98abfd7acf2..79a4dfa5cb0 100644 --- a/Voronoi_diagram_2/demo/Voronoi_diagram_2/CMakeLists.txt +++ b/Voronoi_diagram_2/demo/Voronoi_diagram_2/CMakeLists.txt @@ -3,6 +3,7 @@ project( voronoi_diagram_2 ) cmake_minimum_required(VERSION 2.6.2) +cmake_policy(VERSION 2.8.4) find_package(CGAL COMPONENTS Qt3 ) include( ${CGAL_USE_FILE} )