define TORQUE_TESTS_ENABLED

This commit is contained in:
marauder2k7 2023-07-24 13:47:22 +01:00
parent d6a4c63c27
commit 2ef93acac6
4 changed files with 381 additions and 389 deletions

View file

@ -212,7 +212,7 @@ endif (UNIX AND NOT APPLE)
if(TORQUE_TESTING)
torqueAddSourceDirectories("testing")
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_SHARED SDL_MAIN_HANDLED)
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_SHARED SDL_MAIN_HANDLED TORQUE_TESTS_ENABLED)
endif(TORQUE_TESTING)
# Add the collected files to our engine group