Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-09-30 20:54:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-30 20:54:11 +0400
commit7b9f3eac42316f32fce7732345162983f19419cb (patch)
tree469aace469ff19f5d06612f33e506bb9fa3dbb02 /build_files
parent7ef5464236144da9bc73212477ecbf8dd48ceccc (diff)
fix for odd linking error with ffmpeg.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/macros.cmake5
1 files changed, 5 insertions, 0 deletions
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)