diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-18 13:16:07 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-18 13:16:07 (GMT) |
commit | d9bbc3f45f6cc66865957a492d0cdd560d8f765c (patch) | |
tree | 72a1242714a66feca54ac8228ec4fea87863aca9 /Modules/CMakeDetermineFortranCompiler.cmake | |
parent | 8780da000ac79365a13e771a01ecac49324f2aae (diff) | |
download | CMake-d9bbc3f45f6cc66865957a492d0cdd560d8f765c.zip CMake-d9bbc3f45f6cc66865957a492d0cdd560d8f765c.tar.gz CMake-d9bbc3f45f6cc66865957a492d0cdd560d8f765c.tar.bz2 |
STYLE: fdcorrect comments about FC/CC
Alex
Diffstat (limited to 'Modules/CMakeDetermineFortranCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineFortranCompiler.cmake | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake index 3da3c99..3776f16 100644 --- a/Modules/CMakeDetermineFortranCompiler.cmake +++ b/Modules/CMakeDetermineFortranCompiler.cmake @@ -1,10 +1,11 @@ -# determine the compiler to use for C programs -# NOTE, a generator may set CMAKE_C_COMPILER before +# determine the compiler to use for Fortran programs +# NOTE, a generator may set CMAKE_Fortran_COMPILER before # loading this file to force a compiler. -# use environment variable CCC first if defined by user, next use -# the cmake variable CMAKE_GENERATOR_CC which can be defined by a generator +# use environment variable FC first if defined by user, next use +# the cmake variable CMAKE_GENERATOR_FC which can be defined by a generator # as a default compiler + IF(NOT CMAKE_Fortran_COMPILER) # prefer the environment variable CC IF($ENV{FC} MATCHES ".+") |