Jelajahi Sumber

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

Brad King 18 tahun lalu
induk
melakukan
44f38c9b86
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 2 - 0
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