[Cmake-commits] CMake branch, master, updated. v3.11.0-377-g5ab647c
Kitware Robot
kwrobot at kitware.com
Tue Apr 3 09:35:04 EDT 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 5ab647cdde2aeecf359fc47f40dc9548efc43900 (commit)
via 445d6781e6f5e31cc4841da9adebbde4d7d39dca (commit)
from e3ce4d7a282ba75a4d34aefb0176535bdbe55c36 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5ab647cdde2aeecf359fc47f40dc9548efc43900
commit 5ab647cdde2aeecf359fc47f40dc9548efc43900
Merge: e3ce4d7 445d678
Author: Brad King <brad.king at kitware.com>
AuthorDate: Tue Apr 3 13:34:39 2018 +0000
Commit: Kitware Robot <kwrobot at kitware.com>
CommitDate: Tue Apr 3 09:34:45 2018 -0400
Merge topic 'fortran-fpp'
445d6781e6 Fortran: Add support for .fpp extensions
Acked-by: Kitware Robot <kwrobot at kitware.com>
Merge-request: !1912
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=445d6781e6f5e31cc4841da9adebbde4d7d39dca
commit 445d6781e6f5e31cc4841da9adebbde4d7d39dca
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Apr 2 11:07:55 2018 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon Apr 2 11:07:55 2018 -0400
Fortran: Add support for .fpp extensions
Compilers such as `gfortran` recognize `.fpp` extensions to mean a
Fortran source on which the preprocessor should run.
Fixes: #17869
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)
-----------------------------------------------------------------------
Summary of changes:
Modules/CMakeFortranCompiler.cmake.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list