mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 12:18:30 +09:00
[Chore] (CMake): use set() instead of option()
This commit is contained in:
+3
-3
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user