BUG: use IsNOTFOUND

This commit is contained in:
Bill Hoffman 2003-02-07 10:18:07 -05:00
parent 61fbfa6ea6
commit e9fa240937
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn)
const char* cacheValue
= m_Makefile->GetDefinition(args[0].c_str());
if(cacheValue && strcmp(cacheValue, "NOTFOUND"))
if(cacheValue && !cmSystemTools::IsNOTFOUND(cacheValue))
{
return true;
}