summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-14 14:01:21 +0800
committerGitHub <[email protected]>2025-11-14 14:01:21 +0800
commitbc1c127d13929da2f58aa93fb92e66ddaa451fe5 (patch)
tree0c31afc89ca33540238b4d062ae36d0529963dda
parent27cf2413c2667131a90c0d864b6abb799b934d1b (diff)
parenta65feee549978a38a28fa4f714fcede1d9422aee (diff)
Merge pull request #7023 from RC1844/patch-3
Update Qt ts rule
-rw-r--r--xmake/rules/qt/ts/xmake.lua2
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 = {