Skip to content

Commit fcbb7b4

Browse files
committed
clarify CMake version requirement for CMAKE_LINKER_TYPE
1 parent 60ab8c8 commit fcbb7b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/docs/HowToCrossCompileLLVM.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ Then execute the following snippet to create a toolchain file:
106106
EOF
107107
108108
109+
.. note::
110+
These instructions require **CMake version 3.29 or higher**, because
111+
the ``CMAKE_LINKER_TYPE`` option used in the toolchain file is only
112+
supported from this version onward. Older versions of CMake will
113+
result in configuration errors.
114+
109115
Then configure and build by invoking ``cmake``:
110116
111117
.. code-block:: bash

0 commit comments

Comments
 (0)