Skip to content

Commit ad0dcbe

Browse files
committed
squash! Add cross-compilation inputs
Signed-off-by: Cristian Le <[email protected]>
1 parent 88183cd commit ad0dcbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/scikit_build_core/builder/builder.py

+3
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ def configure(
231231
python_include_dir = get_python_include_dir()
232232
numpy_include_dir = get_numpy_include_dir()
233233

234+
if self.settings.cmake.toolchain_file:
235+
cache_config["CMAKE_TOOLCHAIN_FILE"] = self.settings.cmake.toolchain_file
236+
234237
# Classic Find Python
235238
cache_config["PYTHON_EXECUTABLE"] = sys.executable
236239
cache_config["PYTHON_INCLUDE_DIR"] = python_include_dir

0 commit comments

Comments
 (0)