summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_LANG_STANDARD_LIBRARIES.rst
blob: ba6df933abc9654ba4b9007b9d58a296feda2609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CMAKE_<LANG>_STANDARD_LIBRARIES
-------------------------------

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`.