Fix cmake warning using QUIET

This commit is contained in:
Simon Giraudot 2020-01-22 11:02:33 +01:00
parent 3dd3affd36
commit 2bbe1f4a21
2 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ if ( CGAL_FOUND )
create_single_source_cgal_program( "edges_example.cpp" )
# Executables that require libpointmatcher
find_package(libpointmatcher)
find_package(libpointmatcher QUIET)
if (libpointmatcher_FOUND)
create_single_source_cgal_program( "registration_with_pointmatcher.cpp" )
CGAL_target_use_pointmatcher(registration_with_pointmatcher)
@ -89,7 +89,7 @@ if ( CGAL_FOUND )
endif()
# Executables that require OpenGR
find_package(OpenGR)
find_package(OpenGR QUIET)
if (OpenGR_FOUND)
create_single_source_cgal_program( "registration_with_OpenGR.cpp" )
CGAL_target_use_OpenGR(registration_with_OpenGR)

View File

@ -44,8 +44,8 @@ if(EIGEN3_FOUND)
polyhedron_demo_plugin(point_set_shape_detection_plugin Point_set_shape_detection_plugin ${point_set_shape_detectionUI_FILES} KEYWORDS PointSetProcessing Classification)
target_link_libraries(point_set_shape_detection_plugin PUBLIC scene_surface_mesh_item scene_points_with_normal_item scene_polygon_soup_item scene_callback_signaler)
find_package(OpenGR)
find_package(libpointmatcher)
find_package(OpenGR QUIET)
find_package(libpointmatcher QUIET)
if (OpenGR_FOUND OR libpointmatcher_FOUND)
qt5_wrap_ui(register_point_setsUI_FILES Register_point_sets_plugin.ui)