Skip to content

Commit

Permalink
Use ITK 5.x instead of 4.13
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Nov 16, 2023
1 parent 0a9392c commit 74896b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
6 changes: 5 additions & 1 deletion Polyhedron/demo/Polyhedron/Plugins/Mesh_3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 74896b9

Please sign in to comment.