From a35bf772dead925d5761a9be17cc020e6299ac15 Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Mon, 29 Nov 2021 12:14:43 +0100 Subject: FindPython: clarify static libraries hint usage Fixes: #22956 --- Modules/FindPython.cmake | 5 +++++ Modules/FindPython2.cmake | 5 +++++ Modules/FindPython3.cmake | 5 +++++ 3 files changed, 15 insertions(+) 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 -- cgit v0.12