mirror of https://github.com/CGAL/cgal
Use ITK 5.x instead of 4.13
This commit is contained in:
parent
0a9392c778
commit
74896b99c0
|
|
@ -13,7 +13,7 @@ sudo apt-get install -y \
|
|||
libqt5svg5-dev qttools5-dev qttools5-dev-tools \
|
||||
libboost-dev libboost-serialization-dev libboost-iostreams-dev libboost-filesystem-dev libboost-filesystem-dev \
|
||||
libvtk9-dev libunwind-dev \
|
||||
libinsighttoolkit4-dev \
|
||||
libinsighttoolkit5-dev \
|
||||
libceres-dev \
|
||||
libglpk-dev \
|
||||
libopencv-dev \
|
||||
|
|
|
|||
|
|
@ -33,7 +33,11 @@ find_package(ITK NAMES ITK InsightToolkit
|
|||
if(ITK_FOUND)
|
||||
include(${ITK_USE_FILE})
|
||||
set(ITK_LIBS ITKCommon ITKSmoothing ITKImageIntensity)
|
||||
|
||||
foreach(lib ${ITK_LIBS})
|
||||
if(NOT TARGET ${lib})
|
||||
message(STATUS "ITK library ${lib} not found")
|
||||
endif()
|
||||
endforeach()
|
||||
target_link_libraries(mesh_3_plugin PUBLIC ${ITK_LIBS})
|
||||
target_compile_definitions(mesh_3_plugin PUBLIC CGAL_USE_ITK)
|
||||
endif(ITK_FOUND)
|
||||
|
|
|
|||
Loading…
Reference in New Issue