From e9fa240937afdabad1aeab6ea7b578de9f05ddf8 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 7 Feb 2003 10:18:07 -0500 Subject: BUG: use IsNOTFOUND --- Source/cmFindLibraryCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index c1ebe87..8728273 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -116,7 +116,7 @@ bool cmFindLibraryCommand::InitialPass(std::vector const& argsIn) const char* cacheValue = m_Makefile->GetDefinition(args[0].c_str()); - if(cacheValue && strcmp(cacheValue, "NOTFOUND")) + if(cacheValue && !cmSystemTools::IsNOTFOUND(cacheValue)) { return true; } -- cgit v0.12