summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-03-14 15:44:30 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-03-14 15:45:14 (GMT)
commit8526943b8ce665201a74bddbc6e0925166fabcfe (patch)
tree163c8ef7ae6b264146907a9f01e44df9301875ed /Help/variable
parent12483206594766b96241c7fb387fed0b5fa00690 (diff)
parent801ae06952fc090d07c666b1e56573cae648f599 (diff)
downloadCMake-8526943b8ce665201a74bddbc6e0925166fabcfe.zip
CMake-8526943b8ce665201a74bddbc6e0925166fabcfe.tar.gz
CMake-8526943b8ce665201a74bddbc6e0925166fabcfe.tar.bz2
Merge topic 'LINKER_TYPE-mold-support'
801ae06952 LINKER_TYPE: Support MOLD only on GCC versions that support it 939ac5287e LINKER_TYPE: fix spelling error in message 922883782b LINKER_TYPE: Document that linker tool should be in the PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9334
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_LANG_USING_LINKER_TYPE.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_USING_LINKER_TYPE.rst b/Help/variable/CMAKE_LANG_USING_LINKER_TYPE.rst
index e4d9fa6..d4714c3 100644
--- a/Help/variable/CMAKE_LANG_USING_LINKER_TYPE.rst
+++ b/Help/variable/CMAKE_LANG_USING_LINKER_TYPE.rst
@@ -9,6 +9,12 @@ property :prop_tgt:`LINKER_TYPE`. It can hold compiler flags for the link step
or directly the linker tool. The type of data is given by the variable
:variable:`CMAKE_<LANG>_USING_LINKER_MODE`.
+.. note::
+
+ The specified linker tool is expected to be accessible through
+ the ``PATH`` environment variable, particularly when the
+ :variable:`CMAKE_<LANG>_USING_LINKER_MODE` variable is set to ``FLAG``.
+
For example, to specify the ``LLVM`` linker for ``GNU`` compilers, we have:
.. code-block:: cmake