diff options
| author | ruki <[email protected]> | 2025-02-13 23:41:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-02-13 23:41:34 +0800 |
| commit | ef99de52cdba31eec636256da37be6c468637dd0 (patch) | |
| tree | f9a601f27568138cbe76b69e6eb250d860d4e38b /xmake/modules/detect | |
| parent | da3b88c3a4c71698e105d9e04580642e1c346752 (diff) | |
update harmony sdk
Diffstat (limited to 'xmake/modules/detect')
| -rw-r--r-- | xmake/modules/detect/sdks/find_hdk.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_hdk.lua b/xmake/modules/detect/sdks/find_hdk.lua index 99a9ad60b..18acc73c1 100644 --- a/xmake/modules/detect/sdks/find_hdk.lua +++ b/xmake/modules/detect/sdks/find_hdk.lua @@ -32,7 +32,11 @@ function _find_hdkdir(sdkdir) if not sdkdir then if not sdkdir then if is_host("macosx") then - sdkdir = find_directory("native", "~/Library/Huawei/Sdk/*/*") + local paths = { + "~/Library/OpenHarmony/Sdk/*", + "~/Library/Huawei/Sdk/*/*" -- for old version, deprecated + } + sdkdir = find_directory("native", paths) elseif is_host("windows") then sdkdir = find_directory("native", "~/Huawei/Sdk/*/*") end |
