summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-02 16:48:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-12-02 16:48:39 (GMT)
commit3bb6e0dd00f11f66b77f61ed90b36a22a2e9f5e7 (patch)
treecf915e95130cba1277363f2f77d1908fa62fa246
parent90275453546b6be8fdfc461460406bc96e94e737 (diff)
parenta35bf772dead925d5761a9be17cc020e6299ac15 (diff)
downloadCMake-3bb6e0dd00f11f66b77f61ed90b36a22a2e9f5e7.zip
CMake-3bb6e0dd00f11f66b77f61ed90b36a22a2e9f5e7.tar.gz
CMake-3bb6e0dd00f11f66b77f61ed90b36a22a2e9f5e7.tar.bz2
Merge topic 'FindPython-static-libs-hint'
a35bf772de FindPython: clarify static libraries hint usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6772
-rw-r--r--Modules/FindPython.cmake5
-rw-r--r--Modules/FindPython2.cmake5
-rw-r--r--Modules/FindPython3.cmake5
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