diff options
Diffstat (limited to 'Source/cmFindProgramCommand.cxx')
-rw-r--r-- | Source/cmFindProgramCommand.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx index df21da4..46625cd 100644 --- a/Source/cmFindProgramCommand.cxx +++ b/Source/cmFindProgramCommand.cxx @@ -82,6 +82,15 @@ bool cmFindProgramCommand::InitialPass(std::vector<std::string> const& argsIn) { return true; } + if(cacheValue) + { + cmCacheManager::CacheEntry* e = + cmCacheManager::GetInstance()->GetCacheEntry(args[0].c_str()); + if(e) + { + doc = e->m_HelpString; + } + } std::vector<std::string> path; std::vector<std::string> names; bool foundName = false; |