This commit is contained in:
Rachael Alexanderson 2023-02-09 18:30:50 -05:00
parent 6c77d1c39e
commit 3c4ab95664

View file

@ -151,6 +151,9 @@ if( NOT NO_OPENAL )
mark_as_advanced(CLEAR OPENAL_LIBRARY)
if( OPENAL_LIBRARY )
set( PROJECT_LIBRARIES ${OPENAL_LIBRARY} ${PROJECT_LIBRARIES} )
if( APPLE )
set( PROJECT_LIBRARIES ${PROJECT_LIBRARIES} "-framework AudioUnit -framework CoreAudio -framework ApplicationServices -framework AudioToolbox -framework CoreFoundation" )
endif()
else()
set( NO_OPENAL ON )
endif()