mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
FindPython: Add support for python specific crosscompiling emulator
Fixes: #27996
This commit is contained in:
@@ -652,6 +652,19 @@ can be controlled with the following variable:
|
||||
``_FOUND`` variables (i.e. without the custom prefix) are also defined by
|
||||
each call to the :command:`find_package` command.
|
||||
|
||||
``Python_CROSSCOMPILING_EMULATOR``
|
||||
.. versionadded:: 4.5
|
||||
|
||||
This variable is only used when the :variable:`CMAKE_CROSSCOMPILING` variable
|
||||
is on and the policy :policy:`CMP0190` is ``NEW``. It should point to a
|
||||
command on the host system that can run executable built for the target
|
||||
system. This variable takes precedence over the
|
||||
:variable:`CMAKE_CROSSCOMPILING_EMULATOR` variable.
|
||||
|
||||
Moreover, to support some specific cases (like
|
||||
`crossenv <https://github.com/robotpy/crossenv>`_), it is possible to set an
|
||||
empty string to this variable.
|
||||
|
||||
Commands
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user