Browse Source

Revert "Update torqueConfig.h.in"

This reverts commit f624a85ce4c4bb89d9281ddf4f65f5318eab4c01.
marauder2k7 5 months ago
parent
commit
8795a4f330
1 changed files with 6 additions and 1 deletions
  1. 6 1
      Tools/CMake/torqueConfig.h.in

+ 6 - 1
Tools/CMake/torqueConfig.h.in

@@ -53,8 +53,13 @@
 /// Define me if you want to enable multithreading support.
 #cmakedefine TORQUE_MULTITHREAD
 
-/// Define me if you want to disable Torque memory manager.
 #cmakedefine TORQUE_DISABLE_MEMORY_MANAGER
+/// Define me if you want to disable Torque memory manager.
+#ifndef TORQUE_ENABLE_ASSERTS
+#ifdef TORQUE_DISABLE_MEMORY_MANAGER
+#undef TORQUE_DISABLE_MEMORY_MANAGER
+#endif
+#endif
 
 /// Define me if you want to disable the virtual mount system.
 #cmakedefine TORQUE_DISABLE_VIRTUAL_MOUNT_SYSTEM