forked from bartvdbraak/blender
Fix linking error with ffmpeg_test on Linux
The exact reason is unclear, but we might as well link just the few libraries that are actually needed for ffmpeg.
This commit is contained in:
parent
5319b79965
commit
473bcff5cb
@ -25,13 +25,15 @@ set(INC
|
|||||||
)
|
)
|
||||||
|
|
||||||
set(LIB
|
set(LIB
|
||||||
|
${PNG_LIBRARIES}
|
||||||
|
${FFMPEG_LIBRARIES}
|
||||||
|
${ZLIB_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(WITH_IMAGE_OPENJPEG)
|
||||||
|
set(LIB ${LIB} ${OPENJPEG_LIBRARIES})
|
||||||
|
endif()
|
||||||
|
|
||||||
include_directories(${INC})
|
include_directories(${INC})
|
||||||
|
|
||||||
setup_libdirs()
|
|
||||||
|
|
||||||
BLENDER_SRC_GTEST(ffmpeg "ffmpeg_codecs.cc" "${LIB}")
|
BLENDER_SRC_GTEST(ffmpeg "ffmpeg_codecs.cc" "${LIB}")
|
||||||
|
|
||||||
setup_liblinks(ffmpeg_test)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user