summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython3.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-14 18:01:02 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-14 18:01:02 (GMT)
commit0e652f2defb3ebb700a39fd2d2e1bdd8605ca5b4 (patch)
treee4b3dcbbff6b5d1e400734f6850d116bf2bb8b01 /Modules/FindPython3.cmake
parentb5b24158ce41ec376e6ba36fa44f7b160c03b4f8 (diff)
parent9a84cb1663d834b529716f5a58ed9bbdfb7e43aa (diff)
downloadCMake-0e652f2defb3ebb700a39fd2d2e1bdd8605ca5b4.zip
CMake-0e652f2defb3ebb700a39fd2d2e1bdd8605ca5b4.tar.gz
CMake-0e652f2defb3ebb700a39fd2d2e1bdd8605ca5b4.tar.bz2
Merge branch 'FindPython-ensure-correct-architecture-selected' into release-3.14
Merge-request: !3103
Diffstat (limited to 'Modules/FindPython3.cmake')
-rw-r--r--Modules/FindPython3.cmake7
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
^^^^^^^^^^^^^^^^