1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02:00

Fix build when only msvc2019 is installed

This commit is contained in:
Elias Steurer 2022-04-24 09:56:50 +02:00
parent bdd27acdf2
commit 40bfa967eb

View File

@ -23,7 +23,7 @@ def get_vs_env_dict():
# Prefer newer MSVC and override if exists
if Path(msvc_2022_path).exists():
vcvars = msvc_2022_path
else:
if not vcvars:
raise RuntimeError("No Visual Studio installation found, only 2019 and 2022 are supported.")
print(f"\n\nLoading MSVC env variables via {vcvars}\n\n")