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 7bac01c commit a44fbc6Copy full SHA for a44fbc6
src/scikit_build_core/builder/builder.py
@@ -144,7 +144,8 @@ def configure(
144
cache_config[f"{prefix}_ROOT_DIR"] = sys.prefix
145
cache_config[f"{prefix}_INCLUDE_DIR"] = python_include_dir
146
cache_config[f"{prefix}_FIND_REGISTRY"] = "NEVER"
147
- if python_library:
+ # FindPython may break if this is set - only useful on Windows
148
+ if python_library and sys.platform.startswith("win"):
149
cache_config[f"{prefix}_LIBRARY"] = python_library
150
151
if limited_abi:
0 commit comments