* BugFix: Corrections to allow the Windows build to work correctly with D3D11.

* BugFix: Corrections to allow executables and libraries to build in the game directory without an install.
This commit is contained in:
Robert MacGregor 2022-05-30 14:22:59 -04:00
parent 49204fa88d
commit 2ee56751dd
6 changed files with 88 additions and 43 deletions

View file

@ -1,9 +1,10 @@
# AFX Module
option(TORQUE_AFX_ENABLED "Enable AFX module" ON)
if(TORQUE_AFX_ENABLED)
message("Enabling AFX Module")
file(GLOB_RECURSE TORQUE_SFX_SOURCES "${CMAKE_SOURCE_DIR}/Engine/source/afx/*.cpp")
set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_SFX_SOURCES})
set(TORQUE_SOURCE_FILES ${TORQUE_SOURCE_FILES} ${TORQUE_SFX_SOURCES})
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_AFX_ENABLED)
endif()

View file

@ -1,4 +1,4 @@
# Bullet module
# OpenAL module
option(TORQUE_SFX_OPENAL "Use OpenAL SFX" ON)
if(TORQUE_SFX_OPENAL)

View file

@ -1,4 +1,4 @@
# Bullet module
# Torque Tools module
option(TORQUE_TOOLS "Enable Torque Tools" ON)
if(TORQUE_TOOLS)