Merge pull request #5666 from alefy/Fix-demo_Polyhedron_mesh_3_linking_with_VTK-alefy

Fix linking issue with VTK for Mesh_3 Polyhedron demo
This commit is contained in:
Laurent Rineau 2021-05-18 18:13:55 +02:00
commit 607dadcf2b
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if(VTK_FOUND)
endif() endif()
if("${VTK_VERSION_MAJOR}" GREATER "5" OR VTK_VERSION VERSION_GREATER 5) if("${VTK_VERSION_MAJOR}" GREATER "5" OR VTK_VERSION VERSION_GREATER 5)
if(TARGET VTK::IOImage) if(TARGET VTK::IOImage)
set(VTK_LIBRARIES VTK::IOImage) set(VTK_LIBRARIES VTK::IOImage VTK::ImagingGeneral)
endif() endif()
if(NOT VTK_LIBRARIES) if(NOT VTK_LIBRARIES)
message( message(