mirror of https://github.com/CGAL/cgal
[PSP3] CMake fix for OpenGR (#8591)
## Summary of Changes Removing outdated and faulty check for compiler version ## Release Management * Affected package(s): Point_set_processing_3, Lab (Plugin)
This commit is contained in:
commit
d6beacc463
|
|
@ -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()
|
||||
|
||||
if(TARGET CGAL::OpenGR_support)
|
||||
create_single_source_cgal_program("registration_with_OpenGR.cpp")
|
||||
|
|
|
|||
|
|
@ -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(libpointmatcher QUIET)
|
||||
include(CGAL_pointmatcher_support)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue