SFML#541 Use openal-soft 1.16 as default OpenAL framework on OS X instead of the system's one

This commit is contained in:
Ceylo 2015-03-14 12:15:41 +01:00 committed by Lukas Dürrenberger
parent ae53cfd0d9
commit ce16554763
7 changed files with 29 additions and 3 deletions

View file

@ -328,6 +328,10 @@ elseif(SFML_OS_MACOSX)
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbisfile.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
endif()
if("${OPENAL_LIBRARY}" STREQUAL "${SFML_SOURCE_DIR}/extlibs/libs-osx/Frameworks/OpenAL.framework")
install(DIRECTORY "${OPENAL_LIBRARY}" DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
endif()
# install the Xcode templates if requested
if(SFML_INSTALL_XCODE_TEMPLATES)
# configure the templates plist files