Enable OpenAL Soft on MacOS
parent
364bd17304
commit
78dc1c872a
|
|
@ -182,6 +182,10 @@ elseif(DARWIN)
|
|||
set(release_files ${release_files} libfmod.dylib)
|
||||
endif ()
|
||||
|
||||
if (TARGET ll::openal)
|
||||
list(APPEND release_files libalut.dylib libopenal.dylib)
|
||||
endif ()
|
||||
|
||||
elseif(LINUX)
|
||||
# linux is weird, multiple side by side configurations aren't supported
|
||||
# and we don't seem to have any debug shared libs built yet anyways...
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@ if (USE_OPENAL)
|
|||
alut
|
||||
)
|
||||
else()
|
||||
message(FATAL_ERROR "OpenAL is not available for this platform")
|
||||
target_link_libraries( ll::openal INTERFACE
|
||||
openal
|
||||
alut
|
||||
)
|
||||
endif()
|
||||
endif ()
|
||||
|
|
|
|||
|
|
@ -1031,6 +1031,14 @@ class Darwin_x86_64_Manifest(ViewerManifest):
|
|||
"libfmod.dylib",
|
||||
):
|
||||
dylibs += path_optional(os.path.join(relpkgdir, libfile), libfile)
|
||||
|
||||
# OpenAL dylibs
|
||||
if self.args['openal'] == 'ON':
|
||||
for libfile in (
|
||||
"libopenal.dylib",
|
||||
"libalut.dylib",
|
||||
):
|
||||
dylibs += path_optional(os.path.join(relpkgdir, libfile), libfile)
|
||||
|
||||
# our apps
|
||||
executable_path = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue