CMake: Fix FFMPeg/OpenEXR issues in CMake system and possibly the others. OpenEXR...
[blender.git] / source / blender / python / CMakeLists.txt
index dc7df2282da7ada0206aa74f31f45503e1f8ed9d..7df1f8a02d59966b19cd31678306ea005195321f 100644 (file)
@@ -49,5 +49,9 @@ IF(WITH_OPENEXR)
   ADD_DEFINITIONS(-DWITH_OPENEXR)
 ENDIF(WITH_OPENEXR)
 
+IF(WITH_FFMPEG)
+  ADD_DEFINITIONS(-DWITH_FFMPEG)
+ENDIF(WITH_FFMPEG)
+
 BLENDERLIB_NOLIST(blender_python "${SRC}" "${INC}")
 #env.BlenderLib ( libname='blender_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype=['core','game2'], priority = [60,115] )