[Chore] (CMake): use set() instead of option()

This commit is contained in:
2025-12-11 16:29:03 +08:00
parent 1e64a85bcd
commit 0e9bca40f3
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -77,9 +77,9 @@ set(SPIRV_CROSS_STATIC ON CACHE BOOL "Prefer static libs" FORCE)
add_subdirectory(3rdparty/glslang)
add_subdirectory(3rdparty/SPIRV-Cross)
option(TRACY_ENABLE "Enable Tracy" OFF)
option(TRACY_ON_DEMAND "Enable profiling only connected" ON)
option(TRACY_NO_EXIT "Don't exit Tracy until connected" OFF)
set(TRACY_ENABLE OFF CACHE BOOL "Enable Tracy")
set(TRACY_ON_DEMAND ON CACHE BOOL "Enable profiling only connected")
set(TRACY_NO_EXIT OFF CACHE BOOL "Don't exit Tracy until connected" FORCE)
add_subdirectory(3rdparty/tracy)
+1 -1
View File
@@ -31,7 +31,7 @@
#define MOBILEGL_BACKEND_TYPE_DIRECT_GLES 3
// ====================== MobileGL configurations ======================= //
#define MOBILEGL_LOG_ACTIVE_LEVEL MOBILEGL_LOG_LEVEL_DEBUG
#define MOBILEGL_LOG_ACTIVE_LEVEL MOBILEGL_LOG_LEVEL_FATAL
#define MOBILEGL_LOG_ENABLE_CONSOLE 0
#define MOBILEGL_LOG_ENABLE_FILE 1