diff options
Diffstat (limited to 'Source/cmFindPathCommand.cxx')
-rw-r--r-- | Source/cmFindPathCommand.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmFindPathCommand.cxx b/Source/cmFindPathCommand.cxx index 2a65e84..55ed76c 100644 --- a/Source/cmFindPathCommand.cxx +++ b/Source/cmFindPathCommand.cxx @@ -77,7 +77,15 @@ bool cmFindPathCommand::InitialPass(std::vector<std::string> const& argsIn) { return true; } - + if(cacheValue) + { + cmCacheManager::CacheEntry* e = + cmCacheManager::GetInstance()->GetCacheEntry(args[0].c_str()); + if(e) + { + helpString = e->m_HelpString; + } + } std::vector<std::string> path; // add any user specified paths for (unsigned int j = 2; j < args.size(); j++) |