diff --git a/CMakeLists.txt b/CMakeLists.txt index 4bcd40e0..f614d0d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,6 +160,9 @@ endif() if(TRACY_MANUAL_LIFETIME AND NOT TRACY_DELAYED_INIT) message(FATAL_ERROR "TRACY_MANUAL_LIFETIME can not be activated with disabled TRACY_DELAYED_INIT") endif() +if(TRACY_DISALLOW_HW_TIMER AND NOT TRACY_TIMER_FALLBACK) + message(FATAL_ERROR "TRACY_DISALLOW_HW_TIMER can not be activated with disabled TRACY_TIMER_FALLBACK") +endif() if(NOT TRACY_STATIC) target_compile_definitions(TracyClient PRIVATE TRACY_EXPORTS)