Downgrade requirements to Ubuntu Precise (12.04LTS)

issue1247
Nicolas Hake 2015-01-19 12:23:51 +01:00
parent 2ef2c637a7
commit 9759f72b89
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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()