We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a0f3a2 commit 9e29a3bCopy full SHA for 9e29a3b
src/scikit_build_core/setuptools/build_cmake.py
@@ -1,6 +1,5 @@
1
from __future__ import annotations
2
3
-import os
4
import shutil
5
import sys
6
from pathlib import Path
@@ -138,8 +137,7 @@ def run(self) -> None:
138
137
orig_macos = normalize_macos_version(orig_macos_str, arm=arm_only)
139
config.env.setdefault("MACOSX_DEPLOYMENT_TARGET", str(orig_macos))
140
141
- debug = int(os.environ.get("DEBUG", 0)) if self.debug is None else self.debug
142
- builder.config.build_type = "Debug" if debug else settings.cmake.build_type
+ builder.config.build_type = "Debug" if self.debug else settings.cmake.build_type
143
144
builder.configure(
145
name=dist.get_name(),
0 commit comments