mirror of https://github.com/CGAL/cgal
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:
commit
607dadcf2b
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue