From 7b9f3eac42316f32fce7732345162983f19419cb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 30 Sep 2011 16:54:11 +0000 Subject: fix for odd linking error with ffmpeg. --- build_files/cmake/macros.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build_files') diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 35c84e8359b..709779dc3eb 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -280,6 +280,11 @@ macro(setup_liblinks target_link_libraries(${target} ${OPENJPEG_LIBRARIES}) endif() if(WITH_CODEC_FFMPEG) + + # Strange!, without this ffmpeg gives linking errors (on linux) + # even though its linked above + target_link_libraries(${target} ${OPENGL_glu_LIBRARY}) + target_link_libraries(${target} ${FFMPEG_LIBRARIES}) endif() if(WITH_OPENCOLLADA) -- cgit v1.2.3