aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()