ENH: Fortran include path is the same as C and CXX include paths.

This commit is contained in:
Brad King 2007-12-17 17:54:43 -05:00
parent c391c5cbf4
commit 44f38c9b86

View File

@ -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