summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeDirectoryCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-26 15:46:22 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-26 15:46:22 (GMT)
commita9c0929d3938e432484cc2c3e44bf79167ed010d (patch)
treee9b9ebe3403518d16eb3cee89f32801828341e55 /Source/cmIncludeDirectoryCommand.cxx
parent47ef50453004e62510f5705185d912950e8fb68f (diff)
downloadCMake-a9c0929d3938e432484cc2c3e44bf79167ed010d.zip
CMake-a9c0929d3938e432484cc2c3e44bf79167ed010d.tar.gz
CMake-a9c0929d3938e432484cc2c3e44bf79167ed010d.tar.bz2
COMP: Handle both ansi and non-ansi C
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;