also disable OpenGR with MSVC2015 in CGALlab

This commit is contained in:
Sébastien Loriot 2024-09-09 17:10:23 +02:00
parent a76ab58c30
commit cc7ba6ef98
2 changed files with 11 additions and 5 deletions

View File

@ -145,11 +145,11 @@ if(TARGET CGAL::Eigen3_support)
STATUS
"NOTICE : registration_with_opengr_pointmatcher_pipeline requires libpointmatcher and OpenGR, and will not be compiled."
)
endif()
endif()
else()
message(
STATUS
"NOTICE : your compiler does not support OpenGR, registration_with_OpenGR will not be compiled."
"NOTICE : OpenGR does not support your compiler, registration_with_OpenGR will not be compiled."
)
endif()
else()

View File

@ -97,9 +97,15 @@ 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)
find_package(OpenGR QUIET)
include(CGAL_OpenGR_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(libpointmatcher QUIET)
include(CGAL_pointmatcher_support)