From 07fac94de2b70ce93c3082def6b7ab80f3364dc9 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Thu, 5 Sep 2024 17:13:43 +0200 Subject: [PATCH] use CGAL::OpenMesh_support --- Lab/demo/Lab/Plugins/IO/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lab/demo/Lab/Plugins/IO/CMakeLists.txt b/Lab/demo/Lab/Plugins/IO/CMakeLists.txt index 2b1b56be430..030eeac8322 100644 --- a/Lab/demo/Lab/Plugins/IO/CMakeLists.txt +++ b/Lab/demo/Lab/Plugins/IO/CMakeLists.txt @@ -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()