mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 20:35:35 +00:00
windows and linux AL_ALEXT_PROTOTYPES blocks, as well as exposed the defining of it cmake side for the adventurous (windows and linux on by default, mac off till we sort why dylibs are freaking out)
This commit is contained in:
parent
518cd593b2
commit
4ee8df8863
3 changed files with 13 additions and 2 deletions
|
|
@ -394,18 +394,26 @@ endif()
|
|||
if(TORQUE_SFX_OPENAL AND NOT TORQUE_DEDICATED)
|
||||
addPath("${srcDir}/sfx/openal")
|
||||
if(WIN32)
|
||||
option(AL_ALEXT_PROTOTYPES "Use Extended OpenAL options" ON)
|
||||
addPath("${srcDir}/sfx/openal/win32")
|
||||
addInclude("${libDir}/openal-soft/include")
|
||||
endif()
|
||||
if(UNIX AND NOT APPLE)
|
||||
option(AL_ALEXT_PROTOTYPES "Use Extended OpenAL options" ON)
|
||||
addPath("${srcDir}/sfx/openal/linux")
|
||||
endif()
|
||||
if(APPLE)
|
||||
option(AL_ALEXT_PROTOTYPES "Use Extended OpenAL options" OFF)
|
||||
addPath("${srcDir}/sfx/openal/mac")
|
||||
addFramework("OpenAL")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
mark_as_advanced(AL_ALEXT_PROTOTYPES)
|
||||
if(AL_ALEXT_PROTOTYPES)
|
||||
addDef( "AL_ALEXT_PROTOTYPES" )
|
||||
endif()
|
||||
|
||||
# Vorbis
|
||||
if(TORQUE_SFX_VORBIS)
|
||||
addInclude(${libDir}/libvorbis/include)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue