diff options
| author | RC1844 <[email protected]> | 2025-11-14 10:46:07 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-14 10:46:07 +0800 |
| commit | a65feee549978a38a28fa4f714fcede1d9422aee (patch) | |
| tree | 0c31afc89ca33540238b4d062ae36d0529963dda | |
| parent | 27cf2413c2667131a90c0d864b6abb799b934d1b (diff) | |
Update Qt ts rule
Avoid unnecessary processing without source files
| -rw-r--r-- | xmake/rules/qt/ts/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/ts/xmake.lua b/xmake/rules/qt/ts/xmake.lua index 9319fa2d4..ae141707e 100644 --- a/xmake/rules/qt/ts/xmake.lua +++ b/xmake/rules/qt/ts/xmake.lua @@ -21,7 +21,7 @@ rule("qt.ts") end end end - if sourcefile_ts then + if sourcefile_ts and #source_files > 0 then -- save source files source_files = table.unique(source_files) local json_data = { |
