mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
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:
parent
ae53cfd0d9
commit
ce16554763
@ -328,6 +328,10 @@ elseif(SFML_OS_MACOSX)
|
|||||||
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbisfile.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
install(DIRECTORY extlibs/libs-osx/Frameworks/vorbisfile.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX})
|
||||||
endif()
|
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
|
# install the Xcode templates if requested
|
||||||
if(SFML_INSTALL_XCODE_TEMPLATES)
|
if(SFML_INSTALL_XCODE_TEMPLATES)
|
||||||
# configure the templates plist files
|
# configure the templates plist files
|
||||||
|
1
extlibs/libs-osx/Frameworks/OpenAL.framework/OpenAL
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/OpenAL.framework/OpenAL
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
Versions/Current/OpenAL
|
1
extlibs/libs-osx/Frameworks/OpenAL.framework/Resources
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/OpenAL.framework/Resources
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
Versions/Current/Resources
|
BIN
extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/A/OpenAL
vendored
Executable file
BIN
extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/A/OpenAL
vendored
Executable file
Binary file not shown.
20
extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/A/Resources/Info.plist
vendored
Normal file
20
extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/A/Resources/Info.plist
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>OpenAL</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>org.sfml-dev.OpenAL</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>FMWK</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
1
extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/Current
vendored
Symbolic link
1
extlibs/libs-osx/Frameworks/OpenAL.framework/Versions/Current
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
A
|
@ -228,14 +228,13 @@ require () # $1 is a SFML module like 'system' or 'audio'
|
|||||||
# copy extra dependencies
|
# copy extra dependencies
|
||||||
if [ "$1" = "audio" ]
|
if [ "$1" = "audio" ]
|
||||||
then
|
then
|
||||||
# copy "FLAC" "ogg" "vorbis" "vorbisenc" "vorbisfile" frameworks too
|
# copy "FLAC" "ogg" "vorbis" "vorbisenc" "vorbisfile" "OpenAL" frameworks too
|
||||||
for f in "FLAC" "ogg" "vorbis" "vorbisenc" "vorbisfile"
|
for f in "FLAC" "ogg" "vorbis" "vorbisenc" "vorbisfile" "OpenAL"
|
||||||
do
|
do
|
||||||
copy "$CMAKE_INSTALL_FRAMEWORK_PREFIX/$f.framework" "$dest/$f.framework"
|
copy "$CMAKE_INSTALL_FRAMEWORK_PREFIX/$f.framework" "$dest/$f.framework"
|
||||||
done
|
done
|
||||||
elif [ "$1" = "graphics" ]
|
elif [ "$1" = "graphics" ]
|
||||||
then
|
then
|
||||||
# copy freetype framework too
|
|
||||||
copy "$CMAKE_INSTALL_FRAMEWORK_PREFIX/freetype.framework" "$dest/freetype.framework"
|
copy "$CMAKE_INSTALL_FRAMEWORK_PREFIX/freetype.framework" "$dest/freetype.framework"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user