diff --git a/neo/idlib/precompiled.h b/neo/idlib/precompiled.h index 90dfe8d3..91bd2fa3 100644 --- a/neo/idlib/precompiled.h +++ b/neo/idlib/precompiled.h @@ -106,9 +106,7 @@ const int MAX_EXPRESSION_REGISTERS = 4096; #endif // RB: make Optick profiling available everywhere -#if defined( USE_OPTICK ) - #include "../libs/optick/optick.h" -#endif +#include "../libs/optick/optick.h" #include "../renderer/Cinematic.h" #include "../renderer/Material.h" diff --git a/neo/libs/optick/optick.config.h b/neo/libs/optick/optick.config.h index 0270bf94..b2d48edc 100644 --- a/neo/libs/optick/optick.config.h +++ b/neo/libs/optick/optick.config.h @@ -33,9 +33,10 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // MASTER SWITCH - use it for disabling profiler in final builds // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#if !defined(USE_OPTICK) -#define USE_OPTICK (1) -#endif +// RB: only set this through CMakeLists.txt +//#if !defined(USE_OPTICK) +//#define USE_OPTICK (1) +//#endif //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////