Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
[blender-staging.git] / intern / audaspace / CMakeLists.txt
index a9f5030cd86bc7146d8320b367f3e4e7650bd202..440233eacbc3e92ad3e2cd20891cb018729ad295 100644 (file)
@@ -153,7 +153,7 @@ SET(SRC
        FX/AUD_VolumeFactory.h
 )
 
-IF(WITH_FFMPEG)
+IF(WITH_CODEC_FFMPEG)
        ADD_DEFINITIONS(-DWITH_FFMPEG)
        LIST(APPEND INC ffmpeg ${FFMPEG_INC})
        SET(FFMPEGSRC
@@ -163,7 +163,7 @@ IF(WITH_FFMPEG)
                ffmpeg/AUD_FFMPEGFactory.h
                ffmpeg/AUD_FFMPEGReader.h
        )
-ENDIF(WITH_FFMPEG)
+ENDIF(WITH_CODEC_FFMPEG)
 
 IF(WITH_SDL)
        ADD_DEFINITIONS(-DWITH_SDL)
@@ -195,7 +195,7 @@ IF(WITH_JACK)
        )       
 ENDIF(WITH_JACK)
 
-IF(WITH_SNDFILE)
+IF(WITH_CODEC_SNDFILE)
        ADD_DEFINITIONS(-DWITH_SNDFILE)
        LIST(APPEND INC sndfile ${SNDFILE_INC})
        SET(SNDFILESRC
@@ -205,7 +205,7 @@ IF(WITH_SNDFILE)
                sndfile/AUD_SndFileFactory.h
                sndfile/AUD_SndFileReader.h
        )
-ENDIF(WITH_SNDFILE)
+ENDIF(WITH_CODEC_SNDFILE)
 
 IF(WITH_SAMPLERATE)
        ADD_DEFINITIONS(-DWITH_SAMPLERATE)