ENH: add help for cache entries

This commit is contained in:
Bill Hoffman
2001-04-26 14:53:44 -04:00
parent 6e5af0e6cc
commit 2c1fb789d7
14 changed files with 125 additions and 28 deletions
+1
View File
@@ -66,6 +66,7 @@ bool cmFindProgramCommand::Invoke(std::vector<std::string>& args)
// Save the value in the cache
cmCacheManager::GetInstance()->AddCacheEntry(define,
tryPath.c_str(),
"Path to a program.",
cmCacheManager::FILEPATH);
m_Makefile->AddDefinition(define, tryPath.c_str());
return true;