Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
[blender-staging.git] / source / gameengine / GamePlayer / ghost / CMakeLists.txt
index 01e0cb45cd472ca631665f3a8b41ac9a210d437f..906ece9ded8ad19ebbee218ccfe382afaffe1976 100644 (file)
@@ -72,8 +72,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_NOLIST(ge_player_ghost "${SRC}" "${INC}")