Remove unnecessary check. OpenAL, SDL, JACK don't depend on samplerate.
authorNathan Letwory <nathan@letworyinteractive.com>
Thu, 23 Jun 2011 17:29:18 +0000 (17:29 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Thu, 23 Jun 2011 17:29:18 +0000 (17:29 +0000)
CMakeLists.txt

index 28c92a59b5b9184326d83424a60ef83b234030cf..dc81a726f7c45cc388b6828de99617a3f7af02d9 100644 (file)
@@ -207,10 +207,6 @@ if(NOT WITH_AUDASPACE AND (WITH_OPENAL OR WITH_SDL OR WITH_JACK))
        message(FATAL_ERROR "WITH_OPENAL/WITH_SDL/WITH_JACK/WITH_CODEC_FFMPEG require WITH_AUDASPACE")
 endif()
 
-if(NOT WITH_SAMPLERATE AND (WITH_OPENAL OR WITH_SDL OR WITH_JACK))
-       message(FATAL_ERROR "WITH_OPENAL/WITH_SDL/WITH_JACK require WITH_SAMPLERATE")
-endif()
-
 if(NOT WITH_IMAGE_OPENJPEG AND WITH_IMAGE_REDCODE)
        message(FATAL_ERROR "WITH_IMAGE_REDCODE requires WITH_IMAGE_OPENJPEG")
 endif()