mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
This convention is used by Rust toolchains (rustc/cargo/cargo-c) for the MSVC ABI. Fixes: #25478
13 lines
596 B
ReStructuredText
13 lines
596 B
ReStructuredText
CMAKE_FIND_LIBRARY_SUFFIXES
|
|
---------------------------
|
|
|
|
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, 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`.
|