mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 16:43:50 +00:00
* BugFix: Correct a few typos in the CMakeLists.txt.
* Feature: Mirror support for TORQUE_SFX_DirectX which appears to be broken anyway.
This commit is contained in:
parent
b1cba705b4
commit
f395c7d9ee
2 changed files with 11 additions and 1 deletions
10
Tools/CMake/modules/dsound.cmake
Normal file
10
Tools/CMake/modules/dsound.cmake
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# OpenAL module
|
||||
option(TORQUE_SFX_DIRECTX "Use DirectSound SFX" OFF)
|
||||
|
||||
if(TORQUE_SFX_DIRECTX AND WIN32)
|
||||
message("Enabling DirectSound Module")
|
||||
|
||||
file(GLOB TORQUE_DSOUND_SOURCES "${CMAKE_SOURCE_DIR}/Engine/source/sfx/dsound/*.cpp" "${CMAKE_SOURCE_DIR}/Engine/source/sfx/xaudio/*.cpp")
|
||||
|
||||
set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_DSOUND_SOURCES})
|
||||
endif(TORQUE_SFX_DIRECTX AND WIN32)
|
||||
Loading…
Add table
Add a link
Reference in a new issue