Browse Source

Update torqueConfig.h.in

marauder2k7 7 months ago
parent
commit
eec4573782
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Tools/CMake/torqueConfig.h.in

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

@@ -54,8 +54,9 @@
 #cmakedefine TORQUE_MULTITHREAD
 
 /// Define me if you want to disable Torque memory manager.
-#ifndef TORQUE_ENABLE_ASSERTS
 #cmakedefine TORQUE_DISABLE_MEMORY_MANAGER
+#ifndef TORQUE_ENABLE_ASSERTS // disable memory manager when in release build.
+#define TORQUE_DISABLE_MEMORY_MANAGER
 #endif
 
 /// Define me if you want to disable the virtual mount system.