diff options
author | Brad King <brad.king@kitware.com> | 2021-12-02 16:48:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-12-02 16:48:38 (GMT) |
commit | eeaf1e10cb5f736692136cb31c4ffbb717599917 (patch) | |
tree | 2ec091d4b521ca6588d01a480dd238f58557335d | |
parent | 3883b11edbb983c72f0d1f2f13ad29fd8a630514 (diff) | |
parent | a35bf772dead925d5761a9be17cc020e6299ac15 (diff) | |
download | CMake-eeaf1e10cb5f736692136cb31c4ffbb717599917.zip CMake-eeaf1e10cb5f736692136cb31c4ffbb717599917.tar.gz CMake-eeaf1e10cb5f736692136cb31c4ffbb717599917.tar.bz2 |
Merge topic 'FindPython-static-libs-hint' into release-3.22
a35bf772de FindPython: clarify static libraries hint usage
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6772
-rw-r--r-- | Modules/FindPython.cmake | 5 | ||||
-rw-r--r-- | Modules/FindPython2.cmake | 5 | ||||
-rw-r--r-- | Modules/FindPython3.cmake | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake index a4b7a03..375cb70 100644 --- a/Modules/FindPython.cmake +++ b/Modules/FindPython.cmake @@ -229,6 +229,11 @@ Hints * If set to TRUE, search **only** for static libraries. * If set to FALSE, search **only** for shared libraries. + .. note:: + + This hint will be ignored on ``Windows`` because static libraries are not + available on this platform. + ``Python_FIND_ABI`` .. versionadded:: 3.16 diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake index bb965b9..0888fad 100644 --- a/Modules/FindPython2.cmake +++ b/Modules/FindPython2.cmake @@ -215,6 +215,11 @@ Hints * If set to TRUE, search **only** for static libraries. * If set to FALSE, search **only** for shared libraries. + .. note:: + + This hint will be ignored on ``Windows`` because static libraries are not + available on this platform. + ``Python2_FIND_STRATEGY`` .. versionadded:: 3.15 diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake index f826fcf..145c95e 100644 --- a/Modules/FindPython3.cmake +++ b/Modules/FindPython3.cmake @@ -231,6 +231,11 @@ Hints * If set to TRUE, search **only** for static libraries. * If set to FALSE, search **only** for shared libraries. + .. note:: + + This hint will be ignored on ``Windows`` because static libraries are not + available on this platform. + ``Python3_FIND_ABI`` .. versionadded:: 3.16 |