mirror of https://github.com/CGAL/cgal
Solve linking issue on macOS with VTK for Mesh3 Polyhedron demo
This commit is contained in:
parent
56e09b7a7b
commit
5c66c5d0e1
|
|
@ -20,7 +20,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(STATUS "NOTICE : the DICOM files (.dcm) need VTK libraries to be open and will not be able to.")
|
message(STATUS "NOTICE : the DICOM files (.dcm) need VTK libraries to be open and will not be able to.")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue