summaryrefslogtreecommitdiff
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
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 7329f27444..aaa98dab82 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();