summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-05-03 13:45:36 (GMT)
committerBrad King <brad.king@kitware.com>2023-05-03 13:45:36 (GMT)
commit202b2e1abdbd30b0d18825310ca99433fef22e08 (patch)
tree1a5d9ad97336505aa1c1de9097b4417d572f43e8 /Modules
parent52dde6f012ebba2aeb8b30c0a196b49b70116cf2 (diff)
downloadCMake-202b2e1abdbd30b0d18825310ca99433fef22e08.zip
CMake-202b2e1abdbd30b0d18825310ca99433fef22e08.tar.gz
CMake-202b2e1abdbd30b0d18825310ca99433fef22e08.tar.bz2
FindPython: Cross-reference Python_FIND_{STRATEGY,UNVERSIONED_NAMES}
Mention each variable in the documentation of the other. Issue: #24878
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPython.cmake4
-rw-r--r--Modules/FindPython2.cmake4
-rw-r--r--Modules/FindPython3.cmake4
3 files changed, 12 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake
index 31ef1c7..e6f44e0 100644
--- a/Modules/FindPython.cmake
+++ b/Modules/FindPython.cmake
@@ -335,6 +335,8 @@ Hints
constraints is founded.
This is the default if policy :policy:`CMP0094` is set to ``NEW``.
+ See also ``Python_FIND_UNVERSIONED_NAMES``.
+
``Python_FIND_REGISTRY``
.. versionadded:: 3.13
@@ -442,6 +444,8 @@ Hints
This is the default.
* ``NEVER``: The generic name are not searched at all.
+ See also ``Python_FIND_STRATEGY``.
+
Artifacts Specification
^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake
index 41d9b68..0575ea5 100644
--- a/Modules/FindPython2.cmake
+++ b/Modules/FindPython2.cmake
@@ -234,6 +234,8 @@ Hints
constraints is founded.
This is the default if policy :policy:`CMP0094` is set to ``NEW``.
+ See also ``Python2_FIND_UNVERSIONED_NAMES``.
+
``Python2_FIND_REGISTRY``
.. versionadded:: 3.13
@@ -341,6 +343,8 @@ Hints
This is the default.
* ``NEVER``: The generic name are not searched at all.
+ See also ``Python2_FIND_STRATEGY``.
+
Artifacts Specification
^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake
index ae086e8..18929b2 100644
--- a/Modules/FindPython3.cmake
+++ b/Modules/FindPython3.cmake
@@ -333,6 +333,8 @@ Hints
constraints is founded.
This is the default if policy :policy:`CMP0094` is set to ``NEW``.
+ See also ``Python3_FIND_UNVERSIONED_NAMES``.
+
``Python3_FIND_REGISTRY``
.. versionadded:: 3.13
@@ -440,6 +442,8 @@ Hints
This is the default.
* ``NEVER``: The generic name are not searched at all.
+ See also ``Python3_FIND_STRATEGY``.
+
Artifacts Specification
^^^^^^^^^^^^^^^^^^^^^^^