mirror of https://github.com/CGAL/cgal
use CGAL::OpenMesh_support
This commit is contained in:
parent
4324445fcb
commit
07fac94de2
|
|
@ -45,10 +45,10 @@ target_link_libraries(lcc_io_plugin PUBLIC scene_lcc_item)
|
|||
|
||||
find_package(OpenMesh)
|
||||
if(OpenMesh_FOUND)
|
||||
include(UseOpenMesh)
|
||||
include(CGAL_OpenMesh_support)
|
||||
cgal_lab_plugin(om_plugin OM_io_plugin KEYWORDS Viewer PMP)
|
||||
target_link_libraries(om_plugin PUBLIC scene_surface_mesh_item scene_polygon_soup_item scene_selection_item)
|
||||
target_link_libraries(om_plugin PRIVATE ${OPENMESH_LIBRARIES})
|
||||
target_link_libraries(om_plugin PRIVATE CGAL::OpenMesh_support)
|
||||
else()
|
||||
message(STATUS "NOTICE: the OM IO plugin needs OpenMesh libraries and will not be compiled.")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue