Fix Windows 2016 build. (#5902)

This commit is contained in:
Jiaming Yuan
2020-07-18 05:50:17 +08:00
committed by GitHub
parent 71b0528a2f
commit 6c0c87216f
3 changed files with 10 additions and 8 deletions

View File

@@ -80,7 +80,7 @@ if __name__ == "__main__":
with cd("build"):
if sys.platform == "win32":
# Force x64 build on Windows.
maybe_generator = ' -G"Visual Studio 14 Win64"'
maybe_generator = ' -A x64'
else:
maybe_generator = ""
if sys.platform == "linux":