Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
[blender-staging.git] / source / gameengine / Ketsji / CMakeLists.txt
index 25388171cacbd60f0e9a697110b88e6ba1f52904..a7c8ad9d0dd71d1fa384ab638c0348c7071ea8ea 100644 (file)
@@ -208,9 +208,9 @@ ELSE(WITH_SDL)
        ADD_DEFINITIONS(-DDISABLE_SDL)
 ENDIF(WITH_SDL)
 
-IF(WITH_FFMPEG)
+IF(WITH_CODEC_FFMPEG)
        ADD_DEFINITIONS(-DWITH_FFMPEG)
-ENDIF(WITH_FFMPEG)
+ENDIF(WITH_CODEC_FFMPEG)
 
 IF(WITH_BULLET)
        ADD_DEFINITIONS(-DUSE_BULLET)