diff options
author | Berk Geveci <berk.geveci@kitware.com> | 2002-01-15 18:20:22 (GMT) |
---|---|---|
committer | Berk Geveci <berk.geveci@kitware.com> | 2002-01-15 18:20:22 (GMT) |
commit | e4528496405335d3122444b78240365007d47d6b (patch) | |
tree | d9ad4a21bf29b605d0dc3e9fc9cd85db8d59ee57 /Source/cmFindPathCommand.cxx | |
parent | cb796a7227fe88e28ba9b4f0eb297c3b47770d8b (diff) | |
download | CMake-e4528496405335d3122444b78240365007d47d6b.zip CMake-e4528496405335d3122444b78240365007d47d6b.tar.gz CMake-e4528496405335d3122444b78240365007d47d6b.tar.bz2 |
FIX: Entry doc. should never be overwritten. This may cause cmake to be re-run very often.
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++) |