Commit 98ebfb9a authored by David Partyka's avatar David Partyka Committed by Kitware Robot
Browse files

Merge topic '12678-external-png-osx-build-errors' into pv-master

f01a692c If using external png need to link vtkpython with it.
parents d9d54c73 f01a692c
......@@ -280,6 +280,10 @@ IF(VTK_USE_FFMPEG_ENCODER)
LIST(APPEND VTKPYTHON_LINK_LIBS ${FFMPEG_BASIC_LIBRARIES})
ENDIF(VTK_USE_FFMPEG_ENCODER)
IF(VTK_USE_SYSTEM_PNG)
LIST(APPEND VTKPYTHON_LINK_LIBS ${PNG_LIBRARY})
ENDIF(VTK_USE_SYSTEM_PNG)
TARGET_LINK_LIBRARIES(vtkpython ${VTKPYTHON_LINK_LIBS})
TARGET_LINK_LIBRARIES(vtkpython LINK_INTERFACE_LIBRARIES ${VTK_PYTHON_LIBRARIES})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment