diff options
author | Tarun Prabhu <tarun.prabhu@gmail.com> | 2023-03-15 23:26:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-16 13:14:14 (GMT) |
commit | 18f585e37103183aa790ee9f2a8a13436f3d8153 (patch) | |
tree | 41389e34aa2d5ae7c52417af93704e5d11cc8de7 /Modules/CMakeFortranCompiler.cmake.in | |
parent | 1ec4c6579117634ddb20962cdb63313dbf79887e (diff) | |
download | CMake-18f585e37103183aa790ee9f2a8a13436f3d8153.zip CMake-18f585e37103183aa790ee9f2a8a13436f3d8153.tar.gz CMake-18f585e37103183aa790ee9f2a8a13436f3d8153.tar.bz2 |
Fortran: Recognize f03, F03, f08 and F08 as extensions
Diffstat (limited to 'Modules/CMakeFortranCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeFortranCompiler.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFortranCompiler.cmake.in b/Modules/CMakeFortranCompiler.cmake.in index b8b409a..fc81d0e 100644 --- a/Modules/CMakeFortranCompiler.cmake.in +++ b/Modules/CMakeFortranCompiler.cmake.in @@ -26,7 +26,7 @@ set(CMAKE_Fortran_COMPILER_ENV_VAR "FC") set(CMAKE_Fortran_COMPILER_SUPPORTS_F90 @CMAKE_Fortran_COMPILER_SUPPORTS_F90@) set(CMAKE_Fortran_COMPILER_ID_RUN 1) -set(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;fpp;FPP;f77;F77;f90;F90;for;For;FOR;f95;F95@CMAKE_Fortran_VENDOR_SOURCE_FILE_EXTENSIONS@) +set(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;fpp;FPP;f77;F77;f90;F90;for;For;FOR;f95;F95;f03;F03;f08;F08@CMAKE_Fortran_VENDOR_SOURCE_FILE_EXTENSIONS@) set(CMAKE_Fortran_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) set(CMAKE_Fortran_LINKER_PREFERENCE 20) if(UNIX) |