cmake/Help/variable/CMAKE_LANG_STANDARD_LIBRARIES.rst

15 lines
557 B
ReStructuredText
Raw Normal View History

2016-07-09 11:21:54 +02:00
CMAKE_<LANG>_STANDARD_LIBRARIES
-------------------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.6
2016-07-09 11:21:54 +02:00
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`.