diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-31 18:50:42 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-31 18:50:42 (GMT) |
commit | f58d7df66a4cbfd171ae27eb0beaf12cf5355c08 (patch) | |
tree | ef63fcade1fda3aab970cc0566a66fa085edc1a2 /Source/cmFindLibraryCommand.cxx | |
parent | 5e661c66393328896f7a24f50b9f84fe8dd5f029 (diff) | |
download | CMake-f58d7df66a4cbfd171ae27eb0beaf12cf5355c08.zip CMake-f58d7df66a4cbfd171ae27eb0beaf12cf5355c08.tar.gz CMake-f58d7df66a4cbfd171ae27eb0beaf12cf5355c08.tar.bz2 |
ENH: add checking for NOTFOUND
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r-- | Source/cmFindLibraryCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index 70c97a4..c1ebe87 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -135,8 +135,9 @@ bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn) return true; } } + std::string s = args[0] + "-NOTFOUND"; m_Makefile->AddCacheDefinition(args[0].c_str(), - "NOTFOUND", + s.c_str(), helpString.c_str(), cmCacheManager::FILEPATH); return true; |