diff --git a/Tools/CMake/torqueConfig.h.in b/Tools/CMake/torqueConfig.h.in index a0bbc70a8..dde50431b 100644 --- a/Tools/CMake/torqueConfig.h.in +++ b/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.