summaryrefslogtreecommitdiffstats
path: root/Help
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:13 (GMT)
commit8f0801caccd768860768ffd358288cdb75a0654f (patch)
tree4223a02c55e8be1181a527cb9a74bac412406c79 /Help
parentd93a7c18d86af65076e092c6879991e6b29ae4be (diff)
parent801ae06952fc090d07c666b1e56573cae648f599 (diff)
downloadCMake-8f0801caccd768860768ffd358288cdb75a0654f.zip
CMake-8f0801caccd768860768ffd358288cdb75a0654f.tar.gz
CMake-8f0801caccd768860768ffd358288cdb75a0654f.tar.bz2
Merge topic 'LINKER_TYPE-mold-support' into release-3.29
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')
-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