diff options
author | Brad King <brad.king@kitware.com> | 2009-07-30 17:46:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-30 17:46:51 (GMT) |
commit | 68434483791bb4b1a5b64bcc701cd3625f438eb3 (patch) | |
tree | 49e96e2a25ce84b07152fc0da632688cad491845 /Modules/CMakeFortranCompiler.cmake.in | |
parent | fcab87c9f802965318bee033c2fa3ff27cfbfec7 (diff) | |
download | CMake-68434483791bb4b1a5b64bcc701cd3625f438eb3.zip CMake-68434483791bb4b1a5b64bcc701cd3625f438eb3.tar.gz CMake-68434483791bb4b1a5b64bcc701cd3625f438eb3.tar.bz2 |
Pass Fortran90 test result to try-compile
This stores CMAKE_Fortran_COMPILER_SUPPORTS_F90 in the Fortran compiler
information file CMakeFiles/CMakeFortranCompiler.cmake instead of in
CMakeCache.txt. This file makes the result available to try-compile
projects.
Diffstat (limited to 'Modules/CMakeFortranCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeFortranCompiler.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeFortranCompiler.cmake.in b/Modules/CMakeFortranCompiler.cmake.in index afd9ce0..d8a9ed6 100644 --- a/Modules/CMakeFortranCompiler.cmake.in +++ b/Modules/CMakeFortranCompiler.cmake.in @@ -15,6 +15,8 @@ ENDIF(CMAKE_COMPILER_IS_CYGWIN) SET(CMAKE_Fortran_COMPILER_ENV_VAR "FC") +SET(CMAKE_Fortran_COMPILER_SUPPORTS_F90 @CMAKE_Fortran_COMPILER_SUPPORTS_F90@) + IF(CMAKE_COMPILER_IS_MINGW) SET(MINGW 1) ENDIF(CMAKE_COMPILER_IS_MINGW) |