summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-24 19:32:25 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-24 19:32:25 (GMT)
commit66f2edbe635b6f0ae740a1a614cbddc831ce383e (patch)
tree41dfcebbc5b9adbdc3ad1f6b5cda886f1b60fd69 /Source/cmDependsFortran.cxx
parentde3dedb4ea68f96deda8f4f1c97ab4f134b89f82 (diff)
downloadCMake-66f2edbe635b6f0ae740a1a614cbddc831ce383e.zip
CMake-66f2edbe635b6f0ae740a1a614cbddc831ce383e.tar.gz
CMake-66f2edbe635b6f0ae740a1a614cbddc831ce383e.tar.bz2
BUG: Fix Fortran implicit dependency include path
The previous change to Source/cmDependsFortran.cxx while refactoring implicit dependency scanning configuration rules completely broke loading of the include file search path while scanning Fortran dependencies. This adds the line that should have been added during the previous change to load the include path correctly.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index 7329f27..aaa98da 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -141,6 +141,9 @@ cmDependsFortran
cmDepends(lg),
Internal(new cmDependsFortranInternals)
{
+ // Configure the include file search path.
+ this->SetIncludePathFromLanguage("Fortran");
+
// Get the list of definitions.
std::vector<std::string> definitions;
cmMakefile* mf = this->LocalGenerator->GetMakefile();