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