Skip to content
Snippets Groups Projects
Commit 8b09149e authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

build: windows: fix toolset version choice

Change-Id: I935131da4bf78f0d2832646197367fce56509130
parent eae76a61
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,12 @@ def get_latest_toolset_version():
if vs_ver is None:
return None
vs_ver = int(vs_ver.split(".")[0])
return "v143" if vs_ver >= 16 else "v142" if vs_ver >= 15 else "v141"
if vs_ver == 17:
return "v143"
elif vs_ver == 16:
return "v142"
else:
return "v141"
def find_latest_qt_path():
"""Find the latest Qt installation path."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment