diff --git a/hererocks.py b/hererocks.py index 521a6a7..dd2ad2d 100755 --- a/hererocks.py +++ b/hererocks.py @@ -1205,10 +1205,10 @@ def main(argv=None): print("Using cl.exe found in PATH.") else: arch = "x64" if platform.machine().endswith("64") else "x86" - vs_versions = ["14.0", "12.0", "11.0"] if arch == "x64" else ["14.0", "12.0", "11.0", "10.0", "9.0"] + vs_versions = ["14.0", "12.0", "11.0", "10.0", "9.0"] for vs_version in vs_versions: - setup_vs_and_rerun(vs_version, arch) + setup_vs_and_rerun(vs_version, "x86" if vs_version in ["9.0", "10.0"] else arch) sys.exit("Error: couldn't set up MSVC toolchain") else: