summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeDirectoryCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmIncludeDirectoryCommand.cxx')
-rw-r--r--Source/cmIncludeDirectoryCommand.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmIncludeDirectoryCommand.cxx b/Source/cmIncludeDirectoryCommand.cxx
index b493eb3..39492a6 100644
--- a/Source/cmIncludeDirectoryCommand.cxx
+++ b/Source/cmIncludeDirectoryCommand.cxx
@@ -56,6 +56,14 @@ bool cmIncludeDirectoryCommand
tmp += unixPath;
unixPath = tmp;
}
+ /*
+ if ( !cmSystemTools::FileExists(unixPath.c_str()) )
+ {
+ std::string out = "Cannot find directory: " + unixPath;
+ this->SetError(out.c_str());
+ return false;
+ }
+ */
this->Makefile->AddIncludeDirectory(unixPath.c_str(), before);
}
return true;