Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
[blender-staging.git] / source / blender / makesrna / intern / CMakeLists.txt
index a464e9124b7c4d4caa16f425014ad73c33034c42..bf9ba2dcc70457160150d05b003e204a8b4a67b8 100644 (file)
@@ -100,15 +100,15 @@ IF(WITH_IMAGE_HDR)
        ADD_DEFINITIONS(-DWITH_HDR)
 ENDIF(WITH_IMAGE_HDR)
 
-IF(WITH_QUICKTIME)
+IF(WITH_CODEC_QUICKTIME)
        LIST(APPEND INC ../../quicktime)
        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})