From ab2d67540d7909dbec5e69686bfe41829aa9c3e5 Mon Sep 17 00:00:00 2001 From: PerikiyoXD Date: Thu, 29 Feb 2024 02:51:53 +0100 Subject: fix: Passing `is_debug` to gn --- xmake/modules/package/tools/gn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/package/tools/gn.lua') diff --git a/xmake/modules/package/tools/gn.lua b/xmake/modules/package/tools/gn.lua index 2f4d953e1..cdcbc298a 100644 --- a/xmake/modules/package/tools/gn.lua +++ b/xmake/modules/package/tools/gn.lua @@ -66,7 +66,7 @@ function _get_configs(package, configs, opt) elseif package:is_arch("arm.*") then configs.target_cpu = "arm" end - configs.is_debug = package:is_debug() + configs.is_debug = package:is_debug() and "true" or "false" return configs end -- cgit v1.3.1