diff options
author | Brad King <brad.king@kitware.com> | 2015-08-05 10:39:03 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-08-05 10:39:03 -0400 |
commit | f0609182cc2bbce7f6af557d6352e0c434e7acc2 (patch) | |
tree | 5643594419aec0e665a6088f09187062d0c7ea63 /Modules/CMakeFortranCompiler.cmake.in | |
parent | 4cf3589ed6b71dbc2bf95bc16d079ef469511538 (diff) | |
download | cmake-f0609182cc2bbce7f6af557d6352e0c434e7acc2.tar.gz |
Fortran: Store detected compiler version persistently (#15684)
The Fortran compiler version detection infrastructure added by commit
v3.3.0-rc1~436^2~9 (Fortran: Add infrastructure to detect compiler
version, 2015-02-17) forgot to update CMakeFortranCompiler.cmake.in to
save the compiler version persistently as we do already in
"CMake{C,CXX}Compiler.cmake.in". Add the missing line now.
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 e4c76180a5..14fdd60d98 100644 --- a/Modules/CMakeFortranCompiler.cmake.in +++ b/Modules/CMakeFortranCompiler.cmake.in @@ -1,6 +1,7 @@ set(CMAKE_Fortran_COMPILER "@CMAKE_Fortran_COMPILER@") set(CMAKE_Fortran_COMPILER_ARG1 "@CMAKE_Fortran_COMPILER_ARG1@") set(CMAKE_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@") +set(CMAKE_Fortran_COMPILER_VERSION "@CMAKE_Fortran_COMPILER_VERSION@") set(CMAKE_Fortran_PLATFORM_ID "@CMAKE_Fortran_PLATFORM_ID@") set(CMAKE_Fortran_SIMULATE_ID "@CMAKE_Fortran_SIMULATE_ID@") set(CMAKE_Fortran_SIMULATE_VERSION "@CMAKE_Fortran_SIMULATE_VERSION@") |