aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-08-26 14:53:27 +0200
committerStefan Boberg <[email protected]>2025-08-26 14:53:27 +0200
commit39fcf29b90b2c68eab1f1e4adadccd5ce7172df6 (patch)
tree7ab0a1a2c902d14839d7a18dc3a89d21c8f0ec5d
parentadded curl dependency for Linux link (diff)
downloadzen-39fcf29b90b2c68eab1f1e4adadccd5ce7172df6.tar.xz
zen-39fcf29b90b2c68eab1f1e4adadccd5ce7172df6.zip
default Sentry to off in debug
-rw-r--r--xmake.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index 8a5fe8d2d..955cd71e7 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -136,7 +136,11 @@ function add_define_by_config(define, config_name)
end
option("zensentry")
- set_default(true)
+ if is_mode("debug") then
+ set_default(false)
+ else
+ set_default(true)
+ end
set_showmenu(true)
set_description("Enables Sentry support")
option_end()