From 05cdd43d0750b19a285f76623231016159eecd01 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Tue, 15 Sep 2020 15:56:45 -0400 Subject: [PATCH] Fix fast timer build option --- indra/cmake/00-Common.cmake | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 85e1f0115e1..ddb03441881 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -331,9 +331,11 @@ else() add_definitions(-URELEASE_SHOW_ASSERT) endif() -option(DISABLE_TIMING "Disable all but core fast timers" OFF) -if(DISABLE_TIMING) - add_definitions(-DAL_DISABLE_TIMERS=1) +option(ENABLE_TIMING "Enable all fast timers" ON) +if(ENABLE_TIMING) + add_definitions(-DAL_ENABLE_ALL_TIMERS=1) +else() + add_definitions(-DAL_ENABLE_ALL_TIMERS=0) endif() -- GitLab