cmake/Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst

13 lines
596 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_FIND_LIBRARY_SUFFIXES
---------------------------
Suffixes to append when looking for libraries.
This specifies what suffixes to add to library names when the
2015-11-17 17:22:37 +01:00
:command:`find_library` command looks for libraries. On Windows systems this
2024-04-14 22:45:38 +02:00
is typically ``.lib`` and, depending on the compiler, ``.dll.lib``, ``.dll.a``,
``.a`` (e.g. rustc, GCC, or Clang), so when it tries to find the ``foo``
library, it will look for ``[<prefix>]foo[.dll].lib`` and/or
``[<prefix>]foo[.dll].a``, depending on the compiler used and the ``<prefix>``
specified in the :variable:`CMAKE_FIND_LIBRARY_PREFIXES`.