summaryrefslogtreecommitdiff
path: root/Modules/FindPython2.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-11-29 12:14:43 +0100
committerBrad King <brad.king@kitware.com>2021-12-01 10:06:45 -0500
commita35bf772dead925d5761a9be17cc020e6299ac15 (patch)
tree7ab03746e463f2b4e6f020a735ed7075e74b0809 /Modules/FindPython2.cmake
parent55c4f54e48638528cad6803b1e09bda62aaa0a0a (diff)
downloadcmake-a35bf772dead925d5761a9be17cc020e6299ac15.tar.gz
FindPython: clarify static libraries hint usage
Fixes: #22956
Diffstat (limited to 'Modules/FindPython2.cmake')
-rw-r--r--Modules/FindPython2.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake
index bb965b9d3c..0888fad7ea 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