summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-08 17:02:30 +0800
committerruki <[email protected]>2026-03-08 17:02:30 +0800
commit1ec51411988ae0ca5adcaeeb383a107d305f9907 (patch)
tree3631fa9a9b33ce5cdc609587a64fc3c891344183 /xmake/modules
parent31c6941b7ea41f1d3888db2fc2ee07a6cd948499 (diff)
improve find_hdkohos
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/detect/sdks/find_hdk.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_hdk.lua b/xmake/modules/detect/sdks/find_hdk.lua
index 138652f3d..7d8ac8bb2 100644
--- a/xmake/modules/detect/sdks/find_hdk.lua
+++ b/xmake/modules/detect/sdks/find_hdk.lua
@@ -33,6 +33,7 @@ function _find_hdkdir(sdkdir)
if not sdkdir then
if is_host("macosx") then
local paths = {
+ "/Applications/DevEco-Studio.app/Contents/sdk/default/openharmony",
"~/Library/OpenHarmony/Sdk/*",
"~/Library/Huawei/Sdk/*/*" -- for old version, deprecated
}