diff options
| author | ruki <[email protected]> | 2018-09-21 00:38:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-20 21:48:42 +0800 |
| commit | 72cae54191c2eab872d660e8eae0a4e8b1803351 (patch) | |
| tree | e7b03cb72279133db3bf10414076bcaea048ba4e | |
| parent | 9aec994cdb4e21ae2f765898de28dacf3467bd77 (diff) | |
fix find vcpkg cache
| -rw-r--r-- | xmake/modules/detect/sdks/find_vcpkgdir.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vcpkgdir.lua b/xmake/modules/detect/sdks/find_vcpkgdir.lua index 2c82ddf63..8990c4c70 100644 --- a/xmake/modules/detect/sdks/find_vcpkgdir.lua +++ b/xmake/modules/detect/sdks/find_vcpkgdir.lua @@ -78,7 +78,7 @@ function main(sdkdir, opt) -- attempt to load cache first local key = "detect.sdks.find_vcpkgdir." .. (sdkdir or "") local cacheinfo = cache.load(key) - if not opt.force and cacheinfo.vcpkg then + if not opt.force and cacheinfo.vcpkg ~= nil then return cacheinfo.vcpkg end |
