diff options
| -rw-r--r-- | xmake/core/project/target.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
