Unverified Commit 9b3a2000 authored by Pieter P's avatar Pieter P Committed by GitHub
Browse files

fix(cmake): improved cross-compilation support (#5083)



* fix(cmake): do not use Python::Interpreter when cross-compiling

* chore: apply cmake-format to pybind11NewTools.cmake

* fix(cmake): do not look for Python Interpreter component when cross-compiling

* feat(cmake): guess Python extension suffix

* fix: add pybind11GuessPythonExtSuffix.cmake to packaging test

* Use PYBIND11_CROSSCOMPILING instead of CMAKE_CROSSCOMPILING

* refactor: require PYBIND11_USE_CROSSCOMPILING

Signed-off-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>

---------

Signed-off-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>
parent b9794be4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment