summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-09-30 12:50:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-09-30 12:51:27 (GMT)
commit6051e4b7c34a113fe0582dd9a8c2384a74620677 (patch)
treeefdec0fe0217787501d662696d7fb730c42e408d
parentddc8ebcee32d19a86aaa6e67e688ea8f262b6501 (diff)
parent9aba0ce29d9e6f1dfc3c17020fac45424d393329 (diff)
downloadCMake-6051e4b7c34a113fe0582dd9a8c2384a74620677.zip
CMake-6051e4b7c34a113fe0582dd9a8c2384a74620677.tar.gz
CMake-6051e4b7c34a113fe0582dd9a8c2384a74620677.tar.bz2
Merge topic 'cmake_find_library_suffixes_ext_windows_fixes'
9aba0ce29d Help: Fix CMAKE_FIND_LIBRARY_SUFFIXES examples for Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6569
-rw-r--r--Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst b/Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst
index 4a64e33..c2c2609 100644
--- a/Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst
+++ b/Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst
@@ -5,5 +5,8 @@ Suffixes to append when looking for libraries.
This specifies what suffixes to add to library names when the
:command:`find_library` command looks for libraries. On Windows systems this
-is typically ``.lib`` and ``.dll``, meaning that when trying to find the
-``foo`` library it will look for ``foo.dll`` etc.
+is typically ``.lib`` and, depending on the compiler, ``.dll.a``, ``.a``
+(e.g. GCC and Clang), so when it tries to find the ``foo`` library, it will
+look for ``[<prefix>]foo.lib`` and/or ``[<prefix>]foo[.dll].a``, depending on
+the compiler used and the ``<prefix>`` specified in the
+:variable:`CMAKE_FIND_LIBRARY_PREFIXES`.