summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-19 00:46:42 +0800
committerruki <[email protected]>2020-09-19 00:46:42 +0800
commitb4e624d0c0f9be96ac34a3d363c4af1bdd9e47d7 (patch)
tree705878193293b7879d32c3044ce04c661ec8d64f
parentd0ccbd17c477f4fa67befccf05dbbff680ed1e7e (diff)
improve qt to support wasm
-rw-r--r--xmake/modules/detect/sdks/find_qt.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua
index d959de9ef..c6c8be700 100644
--- a/xmake/modules/detect/sdks/find_qt.lua
+++ b/xmake/modules/detect/sdks/find_qt.lua
@@ -61,6 +61,8 @@ function _find_sdkdir(sdkdir, sdkver)
table.insert(subdirs, path.join(sdkver or "*", subdir, "bin"))
end
table.insert(subdirs, path.join(sdkver or "*", "android", "bin"))
+ elseif is_plat("wasm") then
+ table.insert(subdirs, path.join(sdkver or "*", "wasm_32", "bin"))
else
table.insert(subdirs, path.join(sdkver or "*", "*", "bin"))
end