From d6939f248cfe6297247857ced8f7a5fdbcbae8f0 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 15 Mar 2024 22:43:35 +0800 Subject: fix fileconfig_add --- xmake/core/project/target.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 476db548e..2c2fafdc3 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -1753,7 +1753,7 @@ function _instance:fileconfig_add(sourcefile, info, opt) -- we fetch orignal configs first if no user configs local fileconfig = filesconfig[sourcefile] - if not filesconfig then + if not fileconfig then fileconfig = table.clone(self:fileconfig(sourcefile, opt)) filesconfig[sourcefile] = fileconfig end -- cgit v1.3.1