mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilers
The `GNU` and `MSVC` compilers obviously use their own front-end command-line style. Also set this for `AppleClang`. Fixes: #24232
This commit is contained in:
committed by
Brad King
parent
555a892a69
commit
e4fcdfa301
@@ -16,3 +16,7 @@ the compiler whose frontend it resembles.
|
||||
.. note::
|
||||
In other words, this variable describes what command line options
|
||||
and language extensions the compiler frontend expects.
|
||||
|
||||
.. versionchanged:: 3.26
|
||||
This variable is set for ``GNU``, ``MSVC``, and ``AppleClang``
|
||||
compilers that have only one frontend variant.
|
||||
|
||||
Reference in New Issue
Block a user