summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-11-29 11:14:43 (GMT)
committerBrad King <brad.king@kitware.com>2021-12-01 15:06:45 (GMT)
commita35bf772dead925d5761a9be17cc020e6299ac15 (patch)
tree7ab03746e463f2b4e6f020a735ed7075e74b0809 /Modules/FindPython.cmake
parent55c4f54e48638528cad6803b1e09bda62aaa0a0a (diff)
downloadCMake-a35bf772dead925d5761a9be17cc020e6299ac15.zip
CMake-a35bf772dead925d5761a9be17cc020e6299ac15.tar.gz
CMake-a35bf772dead925d5761a9be17cc020e6299ac15.tar.bz2
FindPython: clarify static libraries hint usage
Fixes: #22956
Diffstat (limited to 'Modules/FindPython.cmake')
-rw-r--r--Modules/FindPython.cmake5
1 files changed, 5 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