diff options
| author | ruki <[email protected]> | 2024-03-15 22:43:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-15 22:43:35 +0800 |
| commit | d6939f248cfe6297247857ced8f7a5fdbcbae8f0 (patch) | |
| tree | 1a34e4084d25d3dde5179f7de3c124ccbc6cce54 | |
| parent | 033d921aa7c7e9c54b05f62943359dee3a0eee04 (diff) | |
fix fileconfig_add
| -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 |
