mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +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
|
|
@ -290,4 +290,4 @@ if (UNIX)
|
|||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endif (APPLE)
|
||||
endif (UNIX)
|
||||
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…
Reference in a new issue