diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c0e50a93..867560ae0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ # To redistribute this file separately, substitute the full license texts # for the above references. -cmake_minimum_required (VERSION 2.8.9) +cmake_minimum_required (VERSION 2.8.7) project (openclonk CXX C) # CMP0054: Only interpret if() arguments as variables or keywords when unquoted diff --git a/cmake/FindAudio.cmake b/cmake/FindAudio.cmake index 16eb9b5e0..c3833ae68 100644 --- a/cmake/FindAudio.cmake +++ b/cmake/FindAudio.cmake @@ -16,9 +16,9 @@ macro(__FINDAUDIO_FINDOPENAL) find_package(PkgConfig QUIET) if(PKG_CONFIG_FOUND AND NOT(APPLE)) - pkg_check_modules(OpenAL "openal>=1.15.1") + pkg_check_modules(OpenAL "openal>=1.13") pkg_check_modules(Alut "freealut>=1.1.0") - pkg_check_modules(OggVorbis "vorbisfile>=1.3.2" "vorbis>=1.3.2" "ogg>=1.3.0") + pkg_check_modules(OggVorbis "vorbisfile>=1.3.2" "vorbis>=1.3.2" "ogg>=1.2.2") else() if(MSVC OR APPLE) find_path(OpenAL_INCLUDE_DIRS al.h PATH_SUFFIXES include/AL include/OpenAL include OpenAL) @@ -57,7 +57,7 @@ endmacro() macro(__FINDAUDIO_FINDSDLMIXER) find_package(PkgConfig QUIET) if(PKG_CONFIG_FOUND) - pkg_check_modules(SDLMixer "SDL_mixer>=1.2.12") + pkg_check_modules(SDLMixer "SDL_mixer>=1.2.11") endif() endmacro()