Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
[blender-staging.git] / source / blenderplayer / CMakeLists.txt
index d1aee8c9d160f389d728a724659ca2d3a503185d..f2b7b72ac9a2f372a8b9742ba72503d9f78099a1 100644 (file)
@@ -28,9 +28,9 @@ MESSAGE(STATUS "Configuring blenderplayer")
 
 SETUP_LIBDIRS()
 
-IF(WITH_QUICKTIME)
+IF(WITH_CODEC_QUICKTIME)
        ADD_DEFINITIONS(-DWITH_QUICKTIME)
-ENDIF(WITH_QUICKTIME)
+ENDIF(WITH_CODEC_QUICKTIME)
 
 IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
        ADD_DEFINITIONS(-DWITH_BINRELOC)
@@ -119,9 +119,9 @@ IF(UNIX)
                bf_blenkernel # duplicate for linking
        )
   
-       IF(WITH_QUICKTIME)
+       IF(WITH_CODEC_QUICKTIME)
                SET(BLENDER_SORTED_LIBS ${BLENDER_SORTED_LIBS} bf_quicktime)
-       ENDIF(WITH_QUICKTIME)
+       ENDIF(WITH_CODEC_QUICKTIME)
 
        IF(WITH_CXX_GUARDEDALLOC)
                SET(BLENDER_SORTED_LIBS ${BLENDER_SORTED_LIBS} bf_intern_guardedalloc_cpp)