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 7d2b2c8b872..0078d757d3c 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 @@ -121,14 +121,8 @@ if(TARGET CGAL::Eigen3_support) endif() # Executables that require OpenGR - if (NOT MSVC_VERSION OR MSVC_VERSION GREATER_EQUAL 1910) - find_package(OpenGR QUIET) - include(CGAL_OpenGR_support) - message( - STATUS - "NOTICE : OpenGR does not support your compiler, registration_with_OpenGR will not be compiled." - ) - endif() + find_package(OpenGR QUIET) + include(CGAL_OpenGR_support) if(TARGET CGAL::OpenGR_support) create_single_source_cgal_program("registration_with_OpenGR.cpp") diff --git a/Polyhedron/demo/Polyhedron/Plugins/Point_set/CMakeLists.txt b/Polyhedron/demo/Polyhedron/Plugins/Point_set/CMakeLists.txt index 3232d08a8d7..00c76007dd5 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Point_set/CMakeLists.txt +++ b/Polyhedron/demo/Polyhedron/Plugins/Point_set/CMakeLists.txt @@ -90,15 +90,10 @@ if(TARGET CGAL::Eigen3_support) point_set_shape_detection_plugin PUBLIC scene_surface_mesh_item scene_points_with_normal_item scene_polygon_soup_item scene_callback_signaler CGAL::Eigen3_support) - if (NOT MSVC_VERSION OR MSVC_VERSION GREATER_EQUAL 1910) - find_package(OpenGR QUIET) - include(CGAL_OpenGR_support) - else() - message( - STATUS - "NOTICE : OpenGR does not support your compiler." - ) - endif() + + find_package(OpenGR QUIET) + include(CGAL_OpenGR_support) + find_package(libpointmatcher QUIET) include(CGAL_pointmatcher_support)