[Cmake-commits] CMake branch, next, updated. v3.2.1-1232-gc8631b5
Brad King
brad.king at kitware.com
Thu Mar 26 09:34:09 EDT 2015
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, next has been updated
via c8631b528e702c5dd11fe5a41ee7e9972caa24c9 (commit)
via a8e7a1047ad3b61238f073ea3d2cd138f207c1ed (commit)
from 6450c758c809b4f597af8cac9d9c8f052931953a (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c8631b528e702c5dd11fe5a41ee7e9972caa24c9
commit c8631b528e702c5dd11fe5a41ee7e9972caa24c9
Merge: 6450c75 a8e7a10
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Mar 26 09:34:08 2015 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Mar 26 09:34:08 2015 -0400
Merge topic 'Fortran-GNU-no-isystem' into next
a8e7a104 GNU: Do not use -isystem with gfortran
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a8e7a1047ad3b61238f073ea3d2cd138f207c1ed
commit a8e7a1047ad3b61238f073ea3d2cd138f207c1ed
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Mar 26 09:32:39 2015 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Mar 26 09:33:20 2015 -0400
GNU: Do not use -isystem with gfortran
The compiler documents that USE statements search for ".mod" files
in directories specified with -I, but not -isystem.
Reported-by: Hugh Sorby <h.sorby at auckland.ac.nz>
diff --git a/Modules/Compiler/GNU-Fortran.cmake b/Modules/Compiler/GNU-Fortran.cmake
index dfd7927..e9c8a59 100644
--- a/Modules/Compiler/GNU-Fortran.cmake
+++ b/Modules/Compiler/GNU-Fortran.cmake
@@ -8,5 +8,8 @@ set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form")
set(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os")
set(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O3")
+# No -isystem for Fortran because it will not find .mod files.
+unset(CMAKE_INCLUDE_SYSTEM_FLAG_Fortran)
+
# Fortran-specific feature flags.
set(CMAKE_Fortran_MODDIR_FLAG -J)
-----------------------------------------------------------------------
Summary of changes:
Modules/Compiler/GNU-Fortran.cmake | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list