diff --git a/.github/install.sh b/.github/install.sh index e41d4762a2e..5fc8323c8c9 100755 --- a/.github/install.sh +++ b/.github/install.sh @@ -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 \ diff --git a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/CMakeLists.txt b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/CMakeLists.txt index 994a71fc703..f7cadd99fb6 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/CMakeLists.txt +++ b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/CMakeLists.txt @@ -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)