diff options
author | Brad King <brad.king@kitware.com> | 2007-12-17 22:54:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-17 22:54:43 (GMT) |
commit | 44f38c9b863a32980b5c2a75c7639d0c1c82f33a (patch) | |
tree | 24503800125ba32428d5ccc0b5bcf7caa5b6bf8e /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | c391c5cbf4631ed63a90962272333fb504ef4e50 (diff) | |
download | CMake-44f38c9b863a32980b5c2a75c7639d0c1c82f33a.zip CMake-44f38c9b863a32980b5c2a75c7639d0c1c82f33a.tar.gz CMake-44f38c9b863a32980b5c2a75c7639d0c1c82f33a.tar.bz2 |
ENH: Fortran include path is the same as C and CXX include paths.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index f08018e..6fa4dd9 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -466,6 +466,8 @@ void cmLocalUnixMakefileGenerator3::WriteDirectoryInformationFile() << " )\n"; infoFileStream << "SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})\n"; + infoFileStream + << "SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})\n"; // Store the include regular expressions for this directory. infoFileStream |