summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeDirectoryCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-31 18:50:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-31 18:50:42 (GMT)
commitf58d7df66a4cbfd171ae27eb0beaf12cf5355c08 (patch)
treeef63fcade1fda3aab970cc0566a66fa085edc1a2 /Source/cmIncludeDirectoryCommand.cxx
parent5e661c66393328896f7a24f50b9f84fe8dd5f029 (diff)
downloadCMake-f58d7df66a4cbfd171ae27eb0beaf12cf5355c08.zip
CMake-f58d7df66a4cbfd171ae27eb0beaf12cf5355c08.tar.gz
CMake-f58d7df66a4cbfd171ae27eb0beaf12cf5355c08.tar.bz2
ENH: add checking for NOTFOUND
Diffstat (limited to 'Source/cmIncludeDirectoryCommand.cxx')
-rw-r--r--Source/cmIncludeDirectoryCommand.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmIncludeDirectoryCommand.cxx b/Source/cmIncludeDirectoryCommand.cxx
index 0e43736..48bede4 100644
--- a/Source/cmIncludeDirectoryCommand.cxx
+++ b/Source/cmIncludeDirectoryCommand.cxx
@@ -35,11 +35,6 @@ bool cmIncludeDirectoryCommand::InitialPass(std::vector<std::string> const& args
for(; i != args.end(); ++i)
{
- if ( *i == "NOTFOUND" )
- {
- this->SetError("CMake attempted to put directory that was not found to the list of include directories.");
- return false;
- }
m_Makefile->AddIncludeDirectory((*i).c_str(), before);
}
return true;