diff --git a/ci/build_windows.py b/ci/build_windows.py index 2590d211c671..0a98c0e95683 100755 --- a/ci/build_windows.py +++ b/ci/build_windows.py @@ -154,7 +154,7 @@ def windows_build(args): with remember_cwd(): os.chdir(path) - cmd = "\"{}\" && {} -G \"NMake Makefiles JOM\" {} {}".format( + cmd = "\"{}\" && {} -T host=x64 {} {}".format( args.vcvars, os.path.join(tmpdir, 'cmake-3.16.1-win64-x64', 'bin', 'cmake.exe'), CMAKE_FLAGS[args.flavour], mxnet_root)