From df111808fc066b3804d0d089cd5e2f213bfdf2dc Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 29 Jan 2022 19:43:32 +0800 Subject: [PATCH] Find compatible externals as well --- tool/quick_start/find_external.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tool/quick_start/find_external.py b/tool/quick_start/find_external.py index 1b683d246..40c776540 100644 --- a/tool/quick_start/find_external.py +++ b/tool/quick_start/find_external.py @@ -123,6 +123,12 @@ def FindVSPrefixPaths(toolset, platform): found.sort(reverse = True) if len(found): return FindPrefixPaths(os.path.join("C:\\", found[0])) + if toolset == "v143": + return FindVSPrefixPaths("v142", platform) + if toolset == "v142": + return FindVSPrefixPaths("v141", platform) + if toolset == "v141": + return FindVSPrefixPaths("v140", platform) return [] def FindLuaVersion(prefixPaths):