mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Fix build when only msvc2019 is installed
This commit is contained in:
parent
bdd27acdf2
commit
40bfa967eb
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user