From 202b2e1abdbd30b0d18825310ca99433fef22e08 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 3 May 2023 09:45:36 -0400 Subject: FindPython: Cross-reference Python_FIND_{STRATEGY,UNVERSIONED_NAMES} Mention each variable in the documentation of the other. Issue: #24878 --- Modules/FindPython.cmake | 4 ++++ Modules/FindPython2.cmake | 4 ++++ Modules/FindPython3.cmake | 4 ++++ 3 files changed, 12 insertions(+) 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 ^^^^^^^^^^^^^^^^^^^^^^^ -- cgit v1.2.1