Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
[blender-staging.git] / source / blender / blenkernel / CMakeLists.txt
index 5ab4dbf0ba51af80ed4c18a3e8ac348a6244e4cd..583f0327e0730b5c7ed87f2d3bf4d18d1478358b 100644 (file)
@@ -256,15 +256,15 @@ IF(WITH_IMAGE_HDR)
        ADD_DEFINITIONS(-DWITH_HDR)
 ENDIF(WITH_IMAGE_HDR)
 
-IF(WITH_QUICKTIME)
+IF(WITH_CODEC_QUICKTIME)
        LIST(APPEND INC ../quicktime ${QUICKTIME_INC})
        ADD_DEFINITIONS(-DWITH_QUICKTIME)
-ENDIF(WITH_QUICKTIME)
+ENDIF(WITH_CODEC_QUICKTIME)
 
-IF(WITH_FFMPEG)
+IF(WITH_CODEC_FFMPEG)
        LIST(APPEND INC ${FFMPEG_INC})
        ADD_DEFINITIONS(-DWITH_FFMPEG)
-ENDIF(WITH_FFMPEG)
+ENDIF(WITH_CODEC_FFMPEG)
 
 IF(WITH_LCMS)
        LIST(APPEND INC ${LCMS_INCLUDE_DIR})