diff options
author | William R. Dieter <william.r.dieter@intel.com> | 2021-11-06 05:11:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-11-11 16:22:07 (GMT) |
commit | b1edd6e7c7c477059d58868158827d8975d88ca8 (patch) | |
tree | 504283ffe8d2c9a488b0bb5932d32fe4830942ab /Modules/CMakeFortranCompiler.cmake.in | |
parent | e8e64e1a0ca87b4874b07e18e517f1beb7704673 (diff) | |
download | CMake-b1edd6e7c7c477059d58868158827d8975d88ca8.zip CMake-b1edd6e7c7c477059d58868158827d8975d88ca8.tar.gz CMake-b1edd6e7c7c477059d58868158827d8975d88ca8.tar.bz2 |
Fortran: Save frontend variant persistently for IntelLLVM
Since commit a90d2a9eed (IntelLLVM: Add support for Intel LLVM-based
compilers, 2020-11-02, v3.20.0-rc1~89^2~20), our IntelLLVM compiler
support populates `CMAKE_Fortran_COMPILER_FRONTEND_VARIANT`. However,
the frontend variant was not stored in `CMakeCompilerFortran.cmake`.
Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
Diffstat (limited to 'Modules/CMakeFortranCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeFortranCompiler.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeFortranCompiler.cmake.in b/Modules/CMakeFortranCompiler.cmake.in index 06ee528..d474f96 100644 --- a/Modules/CMakeFortranCompiler.cmake.in +++ b/Modules/CMakeFortranCompiler.cmake.in @@ -5,6 +5,7 @@ set(CMAKE_Fortran_COMPILER_VERSION "@CMAKE_Fortran_COMPILER_VERSION@") set(CMAKE_Fortran_COMPILER_WRAPPER "@CMAKE_Fortran_COMPILER_WRAPPER@") set(CMAKE_Fortran_PLATFORM_ID "@CMAKE_Fortran_PLATFORM_ID@") set(CMAKE_Fortran_SIMULATE_ID "@CMAKE_Fortran_SIMULATE_ID@") +set(CMAKE_Fortran_COMPILER_FRONTEND_VARIANT "@CMAKE_Fortran_COMPILER_FRONTEND_VARIANT@") set(CMAKE_Fortran_SIMULATE_VERSION "@CMAKE_Fortran_SIMULATE_VERSION@") @_SET_CMAKE_Fortran_XL_CPP@ @_SET_CMAKE_Fortran_COMPILER_ARCHITECTURE_ID@ |