Always pass build type

This commit is contained in:
Robert Taylor 2022-12-22 09:33:53 +00:00 committed by Jean-Paul Chaput
parent 8f8671c8fb
commit 7a8a3d3434
1 changed files with 1 additions and 1 deletions

View File

@ -61,12 +61,12 @@ class ExtensionBuilder(build_ext):
build_args = ["--config", cfg]
install_args = ["--config", cfg]
cmake_args += ["-DCMAKE_BUILD_TYPE=" + cfg]
if platform.system() == "Windows":
if sys.maxsize > 2 ** 32:
cmake_args += ["-A", "x64"]
build_args += ["--", "/m"]
else:
cmake_args += ["-DCMAKE_BUILD_TYPE=" + cfg]
build_args += ["--", "-j4", "VERBOSE=1"]
env = os.environ.copy()