Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
[blender-staging.git] / source / gameengine / VideoTexture / CMakeLists.txt
index 8e5c892f007ad5fff981e6ac927b5250f3cceef2..10c9bf3755a3b888f0adfc3fcc96802eb7e8946d 100644 (file)
@@ -85,10 +85,10 @@ SET(SRC
        VideoFFmpeg.h
 )
 
-IF(WITH_FFMPEG)
+IF(WITH_CODEC_FFMPEG)
        SET(INC ${INC} ${FFMPEG_INC} ${PTHREADS_INC})
        ADD_DEFINITIONS(-DWITH_FFMPEG)
        ADD_DEFINITIONS(-D__STDC_CONSTANT_MACROS)
-ENDIF(WITH_FFMPEG)
+ENDIF(WITH_CODEC_FFMPEG)
 
 BLENDERLIB(ge_videotex "${SRC}" "${INC}")