Browse Source

Merge topic 'CMakeDetermineFortranCompiler-typo'

e82a8ab197 CMakeDetermineFortranCompiler: Fix typo in comment (CC -> FC)

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8945
Brad King 2 years ago
parent
commit
8872da0fe4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/CMakeDetermineFortranCompiler.cmake

+ 1 - 1
Modules/CMakeDetermineFortranCompiler.cmake

@@ -22,7 +22,7 @@ elseif("${CMAKE_GENERATOR}" MATCHES "Xcode")
   _cmake_find_compiler_path(Fortran)
 else()
   if(NOT CMAKE_Fortran_COMPILER)
-    # prefer the environment variable CC
+    # prefer the environment variable FC
     if(NOT $ENV{FC} STREQUAL "")
       get_filename_component(CMAKE_Fortran_COMPILER_INIT $ENV{FC} PROGRAM PROGRAM_ARGS CMAKE_Fortran_FLAGS_ENV_INIT)
       if(CMAKE_Fortran_FLAGS_ENV_INIT)