diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-02-07 15:18:07 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-02-07 15:18:07 (GMT) |
commit | e9fa240937afdabad1aeab6ea7b578de9f05ddf8 (patch) | |
tree | f9ce2f5d4f951a079086710014708d3a082a286f /Source | |
parent | 61fbfa6ea64f1801ec73896de10de07b5879e8fb (diff) | |
download | CMake-e9fa240937afdabad1aeab6ea7b578de9f05ddf8.zip CMake-e9fa240937afdabad1aeab6ea7b578de9f05ddf8.tar.gz CMake-e9fa240937afdabad1aeab6ea7b578de9f05ddf8.tar.bz2 |
BUG: use IsNOTFOUND
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmFindLibraryCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<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; } |