Commit fba4c531 authored by David Partyka's avatar David Partyka

Link to FFMPEG if it is enabled

We cannot transitively link in FFMPEG through vtkIO we must link it directly if enabled.
parent 223aa971
......@@ -192,6 +192,9 @@ IF(HAVE_PTHREAD_H AND CMAKE_USE_PTHREADS)
TARGET_LINK_LIBRARIES(vtkpython ${CMAKE_THREAD_LIBS_INIT})
ENDIF()
IF(VTK_USE_FFMPEG_ENCODER)
LIST(APPEND VTKPYTHON_LINK_LIBRARIES ${FFMPEG_LIBRARIES})
ENDIF(VTK_USE_FFMPEG_ENCODER)
TARGET_LINK_LIBRARIES(vtkpython ${VTKPYTHON_LINK_LIBS})
......
Markdown is supported
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