mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 11:25:27 +00:00
(partial) mac compilation correction -
1) correct cmake to look to the included openal-soft, not the system framework. 2) (incorrect) stubb-ins for library to function table binds
This commit is contained in:
parent
47640420ca
commit
a5f2848b0d
3 changed files with 153 additions and 11 deletions
|
|
@ -392,15 +392,15 @@ endif()
|
|||
if(TORQUE_SFX_OPENAL AND NOT TORQUE_DEDICATED)
|
||||
addPath("${srcDir}/sfx/openal")
|
||||
if(WIN32)
|
||||
addPath("${srcDir}/sfx/openal/win32")
|
||||
addInclude("${libDir}/openal-soft/include")
|
||||
addPath("${srcDir}/sfx/openal/win32")
|
||||
addInclude("${libDir}/openal-soft/include")
|
||||
endif()
|
||||
if(UNIX AND NOT APPLE)
|
||||
addPath("${srcDir}/sfx/openal/linux")
|
||||
endif()
|
||||
if(APPLE)
|
||||
addPath("${srcDir}/sfx/openal/mac")
|
||||
addFramework("OpenAL")
|
||||
if(UNIX AND NOT APPLE)
|
||||
addPath("${srcDir}/sfx/openal/linux")
|
||||
endif()
|
||||
if(APPLE)
|
||||
addPath("${srcDir}/sfx/openal/mac")
|
||||
addInclude("${libDir}/openal-soft/include")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue