diff --git a/builder.py b/builder.py index 85344198..530bcc7e 100644 --- a/builder.py +++ b/builder.py @@ -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()