1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-04-21 21:52:03 +02:00

build: windows: fix toolset version choice

Change-Id: I935131da4bf78f0d2832646197367fce56509130
This commit is contained in:
Andreas Traczyk 2023-11-27 11:17:08 -05:00
parent eae76a619a
commit 8b09149ecd

View file

@ -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."""