[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40723] trunk/blender/build_files/cmake/ macros.cmake: fix for odd linking error with ffmpeg.
Campbell Barton
ideasman42 at gmail.com
Fri Sep 30 18:54:11 CEST 2011
Revision: 40723
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40723
Author: campbellbarton
Date: 2011-09-30 16:54:11 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
fix for odd linking error with ffmpeg.
Modified Paths:
--------------
trunk/blender/build_files/cmake/macros.cmake
Modified: trunk/blender/build_files/cmake/macros.cmake
===================================================================
--- trunk/blender/build_files/cmake/macros.cmake 2011-09-30 16:37:46 UTC (rev 40722)
+++ trunk/blender/build_files/cmake/macros.cmake 2011-09-30 16:54:11 UTC (rev 40723)
@@ -280,6 +280,11 @@
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)
More information about the Bf-blender-cvs
mailing list