mirror of https://github.com/CGAL/cgal
Merge pull request #8475 from soesau/PSP3-OpenGR_msvc2015-GF
[PSP3] OpenGR does not work with msvc2015
This commit is contained in:
commit
2672006cae
|
|
@ -120,6 +120,7 @@ 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)
|
||||
if(TARGET CGAL::OpenGR_support)
|
||||
|
|
@ -132,7 +133,6 @@ if(TARGET CGAL::Eigen3_support)
|
|||
"NOTICE : registration_with_OpenGR requires OpenGR, and will not be compiled."
|
||||
)
|
||||
endif()
|
||||
|
||||
# Executables that require both libpointmatcher and OpenGR
|
||||
if (TARGET CGAL::pointmatcher_support AND
|
||||
TARGET CGAL::OpenGR_support)
|
||||
|
|
@ -146,7 +146,12 @@ if(TARGET CGAL::Eigen3_support)
|
|||
"NOTICE : registration_with_opengr_pointmatcher_pipeline requires libpointmatcher and OpenGR, and will not be compiled."
|
||||
)
|
||||
endif()
|
||||
|
||||
else()
|
||||
message(
|
||||
STATUS
|
||||
"NOTICE : OpenGR does not support your compiler, registration_with_OpenGR will not be compiled."
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
message(
|
||||
STATUS
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
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