Просмотр исходного кода

Merge topic 'FindPython-static-libs-hint' into release-3.22

a35bf772de FindPython: clarify static libraries hint usage

Acked-by: Kitware Robot <[email protected]>
Merge-request: !6772
Brad King 4 лет назад
Родитель
Сommit
eeaf1e10cb
3 измененных файлов с 15 добавлено и 0 удалено
  1. 5 0
      Modules/FindPython.cmake
  2. 5 0
      Modules/FindPython2.cmake
  3. 5 0
      Modules/FindPython3.cmake

+ 5 - 0
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
 

+ 5 - 0
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
 

+ 5 - 0
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