removing the version check for OpenGR

This commit is contained in:
Sven Oesau 2024-11-06 16:10:15 +01:00
parent 1709486fba
commit c8438d4310
2 changed files with 6 additions and 17 deletions

View File

@ -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")

View File

@ -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)