diff options
author | Brad King <brad.king@kitware.com> | 2018-04-03 13:34:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-04-03 13:34:45 (GMT) |
commit | 5ab647cdde2aeecf359fc47f40dc9548efc43900 (patch) | |
tree | 378542dbdb3e16afe1dbb898a0ed08d4906321ff | |
parent | e3ce4d7a282ba75a4d34aefb0176535bdbe55c36 (diff) | |
parent | 445d6781e6f5e31cc4841da9adebbde4d7d39dca (diff) | |
download | CMake-5ab647cdde2aeecf359fc47f40dc9548efc43900.zip CMake-5ab647cdde2aeecf359fc47f40dc9548efc43900.tar.gz CMake-5ab647cdde2aeecf359fc47f40dc9548efc43900.tar.bz2 |
Merge topic 'fortran-fpp'
445d6781e6 Fortran: Add support for .fpp extensions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1912
-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 2e34cbb..9b951fc 100644 --- a/Modules/CMakeFortranCompiler.cmake.in +++ b/Modules/CMakeFortranCompiler.cmake.in @@ -31,7 +31,7 @@ if(CMAKE_COMPILER_IS_MINGW) set(MINGW 1) endif() set(CMAKE_Fortran_COMPILER_ID_RUN 1) -set(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;f77;F77;f90;F90;for;For;FOR;f95;F95) +set(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;fpp;FPP;f77;F77;f90;F90;for;For;FOR;f95;F95) set(CMAKE_Fortran_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) set(CMAKE_Fortran_LINKER_PREFERENCE 20) if(UNIX) |