Fortran: Add support for [CMAKE_]Fortran_LINKER_LAUNCHER

`CMAKE_<LANG>_LINKER_LAUNCHER` and `<LANG>_LINKER_LAUNCHER` are
already support for C, CXX, OBJC, and OBJCXX.  Add Fortran.

Closes: #26951
This commit is contained in:
Maximilian Sander
2025-05-26 21:42:22 +02:00
committed by Brad King
parent 38bcc1d014
commit d176a8c5ce
16 changed files with 55 additions and 3 deletions
+9 -1
View File
@@ -5,7 +5,15 @@ CMAKE_<LANG>_LINKER_LAUNCHER
Default value for :prop_tgt:`<LANG>_LINKER_LAUNCHER` target property. This
variable is used to initialize the property on each target as it is created.
This is done only when ``<LANG>`` is ``C``, ``CXX``, ``OBJC``, or ``OBJCXX``.
This is done only when ``<LANG>`` is one of:
* ``C``
* ``CXX``
* ``OBJC``
* ``OBJCXX``
* ``Fortran``
.. versionadded:: 4.1
This variable is initialized to the :envvar:`CMAKE_<LANG>_LINKER_LAUNCHER`
environment variable if it is set.