mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
FindPython*: ensure correct architecture is selected.
Ensure interpreter and libraries architecture matches CMake build configuration. Update documentation about interpreter constraints. Fixes: #19024
This commit is contained in:
@@ -29,6 +29,13 @@ concurrently with :module:`FindPython2` module to use both Python versions.
|
||||
The :module:`FindPython` module can be used if Python version does not matter
|
||||
for you.
|
||||
|
||||
.. note::
|
||||
|
||||
If components ``Interpreter`` and ``Development`` are both specified, this
|
||||
module search only for interpreter with same platform architecture as the one
|
||||
defined by ``CMake`` configuration. This contraint does not apply if only
|
||||
``Interpreter`` component is specified.
|
||||
|
||||
Imported Targets
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user