[Bf-committers] linking ffmpeg with cmake

Mathias Panzenböck grosser.meister.morti at gmx.net
Wed Sep 7 02:44:20 CEST 2011

In order to make blender link with ffmpeg enabled I had to make these changes:

Index: build_files/cmake/macros.cmake
--- build_files/cmake/macros.cmake      (revision 39983)
+++ build_files/cmake/macros.cmake      (working copy)
@@ -286,7 +286,7 @@
                 target_link_libraries(${target} ${OPENJPEG_LIBRARIES})
-               target_link_libraries(${target} ${FFMPEG_LIBRARIES})
+               target_link_libraries(${target} ${FFMPEG_LIBRARIES} asound bz2)
                 if(WIN32 AND NOT UNIX)

Now this is not the right place to add these two libraries, but you surly know better where to fix 
it properly. I just wanted to let you know about it.


More information about the Bf-committers mailing list