Commit e9fa2409 authored by Bill Hoffman's avatar Bill Hoffman

BUG: use IsNOTFOUND

parent 61fbfa6e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment