fix a CMake warning about ITK

This commit is contained in:
Laurent Rineau 2025-09-25 11:41:06 +02:00
parent 318a03d56e
commit dcb298d265
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ if(ITK_FOUND)
message(STATUS "ITK found")
include(${ITK_USE_FILE})
target_link_libraries(mesh_3_plugin PRIVATE CGAL::ITK_support)
target_compile_definitions(mesh_3_plugin PRIVATE ITK_LEGACY_FUTURE_REMOVE)
endif(ITK_FOUND)
find_package(VTK 9.0 QUIET COMPONENTS ImagingGeneral IOImage IOXML NO_MODULE)