diff options
| author | Brad King <brad.king@kitware.com> | 2023-05-03 09:45:36 -0400 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2023-05-03 09:45:36 -0400 |
| commit | 202b2e1abdbd30b0d18825310ca99433fef22e08 (patch) | |
| tree | 1a5d9ad97336505aa1c1de9097b4417d572f43e8 /Modules | |
| parent | 52dde6f012ebba2aeb8b30c0a196b49b70116cf2 (diff) | |
| download | cmake-202b2e1abdbd30b0d18825310ca99433fef22e08.tar.gz | |
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.cmake | 4 | ||||
| -rw-r--r-- | Modules/FindPython2.cmake | 4 | ||||
| -rw-r--r-- | Modules/FindPython3.cmake | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake index 31ef1c7d53..e6f44e0cad 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 41d9b689ac..0575ea5a45 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 ae086e8546..18929b2d92 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 ^^^^^^^^^^^^^^^^^^^^^^^ |
