diff options
| author | ruki <[email protected]> | 2025-05-26 17:10:40 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-26 17:10:40 +0800 |
| commit | 9ea8487862ef561c118411045ded493d658f1cf8 (patch) | |
| tree | 2873c45ae6b54060197d57d48bace1ce9693e4d2 | |
| parent | e4d52557f6e5c244ace04a8b2c04549d67b22bf5 (diff) | |
Update find_dia_sdk.lua
| -rw-r--r-- | xmake/modules/detect/sdks/find_dia_sdk.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xmake/modules/detect/sdks/find_dia_sdk.lua b/xmake/modules/detect/sdks/find_dia_sdk.lua index e4796dda6..3e4097410 100644 --- a/xmake/modules/detect/sdks/find_dia_sdk.lua +++ b/xmake/modules/detect/sdks/find_dia_sdk.lua @@ -110,7 +110,6 @@ end -- @endcode -- function main(sdkdir, opt) - -- init options opt = opt or {} -- attempt to load cache first @@ -132,7 +131,7 @@ function main(sdkdir, opt) if VSInstallDir then dia_sdk = _find_dia_sdk(VSInstallDir, opt) if dia_sdk then - goto find + goto found end end end @@ -141,7 +140,7 @@ function main(sdkdir, opt) end end -::find:: +::found:: if dia_sdk then if opt.verbose or option.get("verbose") then @@ -158,4 +157,4 @@ function main(sdkdir, opt) detectcache:set(key, cacheinfo) detectcache:save() return dia_sdk -end
\ No newline at end of file +end |
