Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
[blender-staging.git] / source / gameengine / BlenderRoutines / CMakeLists.txt
index ae46d8bf5b0aa30dffbb4777ac8cee368542d4b2..66a26e9ff79f9b09f254a3b7c98907c61c4176e8 100644 (file)
@@ -53,8 +53,8 @@ SET(SRC
 
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
-IF(WITH_FFMPEG)
+IF(WITH_CODEC_FFMPEG)
        ADD_DEFINITIONS(-DWITH_FFMPEG)
-ENDIF(WITH_FFMPEG)
+ENDIF(WITH_CODEC_FFMPEG)
 
 BLENDERLIB(ge_blen_routines "${SRC}" "${INC}")