diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2019-03-14 17:40:22 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2019-03-14 17:53:57 (GMT) |
commit | 9a84cb1663d834b529716f5a58ed9bbdfb7e43aa (patch) | |
tree | 864d22ba6787df748a3c48766e5c4ebf2fdf53ff /Modules/FindPython3.cmake | |
parent | bf02d625325535f485512eba307cff54c08bb257 (diff) | |
download | CMake-9a84cb1663d834b529716f5a58ed9bbdfb7e43aa.zip CMake-9a84cb1663d834b529716f5a58ed9bbdfb7e43aa.tar.gz CMake-9a84cb1663d834b529716f5a58ed9bbdfb7e43aa.tar.bz2 |
FindPython*: ensure correct architecture is selected.
Ensure interpreter and libraries architecture matches CMake build
configuration.
Update documentation about interpreter constraints.
Fixes: #19024
Diffstat (limited to 'Modules/FindPython3.cmake')
-rw-r--r-- | Modules/FindPython3.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake index b3dfff3..c2f3384 100644 --- a/Modules/FindPython3.cmake +++ b/Modules/FindPython3.cmake @@ -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 ^^^^^^^^^^^^^^^^ |