mirror of https://github.com/CGAL/cgal
removing the version check for OpenGR
This commit is contained in:
parent
1709486fba
commit
c8438d4310
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue