Browse Source

Update torqueConfig.h.in

marauder2k7 5 months ago
parent
commit
0ba8d6102d
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Tools/CMake/torqueConfig.h.in

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

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