mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
2377db85e1
commit
cf874b55e3
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ set(TORQUE_SDL ON) # we need sdl to do our platform interop
|
||||||
forwardDef(TORQUE_SDL)
|
forwardDef(TORQUE_SDL)
|
||||||
|
|
||||||
if(TORQUE_TESTING)
|
if(TORQUE_TESTING)
|
||||||
forwardDef(TORQUE_TESTS_ENABLED)
|
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_TESTS_ENABLED)
|
||||||
|
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} "_VARIADIC_MAX=10")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# On Windows we disable CRT Security warnings - this comes from recommendations to use non-portable functions.
|
# On Windows we disable CRT Security warnings - this comes from recommendations to use non-portable functions.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue