https://github.com/Kitware/CMake
Raw File
Tip revision: 5ead1d0a257e352c35ac63b78f4884058b17b8f9 authored by Brad King on 28 July 2022, 17:19:49 UTC
CMake 3.24.0-rc5
Tip revision: 5ead1d0
CMAKE_LANG_STANDARD_LIBRARIES.rst
CMAKE_<LANG>_STANDARD_LIBRARIES
-------------------------------

.. versionadded:: 3.6

Libraries linked into every executable and shared library linked
for language ``<LANG>``.  This is meant for specification of system
libraries needed by the language for the current platform.

This variable should not be set by project code.  It is meant to be set by
CMake's platform information modules for the current toolchain, or by a
toolchain file when used with :variable:`CMAKE_TOOLCHAIN_FILE`.

See also :variable:`CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES`.
back to top