diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-05-25 01:14:53 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-05-25 01:14:53 (GMT) |
commit | 2533d55099a5f278fe9c84ead0996176d18b88a0 (patch) | |
tree | 54e2318cc7c105adfb1ebc516c3927d34a276aaf /Source/cmFindPathCommand.cxx | |
parent | d8c34cfb8196d19c2f13956ca4a75d714b860abc (diff) | |
download | CMake-2533d55099a5f278fe9c84ead0996176d18b88a0.zip CMake-2533d55099a5f278fe9c84ead0996176d18b88a0.tar.gz CMake-2533d55099a5f278fe9c84ead0996176d18b88a0.tar.bz2 |
The path found is now collapsed (cleaner).
Diffstat (limited to 'Source/cmFindPathCommand.cxx')
-rw-r--r-- | Source/cmFindPathCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFindPathCommand.cxx b/Source/cmFindPathCommand.cxx index dff1fee..cb4e7db 100644 --- a/Source/cmFindPathCommand.cxx +++ b/Source/cmFindPathCommand.cxx @@ -87,6 +87,7 @@ bool cmFindPathCommand::Invoke(std::vector<std::string>& args) tryPath += args[1]; if(cmSystemTools::FileExists(tryPath.c_str())) { + path[k] = cmSystemTools::CollapseFullPath(path[k].c_str()); m_Makefile->AddDefinition(args[0].c_str(), path[k].c_str()); cmCacheManager::GetInstance()->AddCacheEntry(args[0].c_str(), path[k].c_str(), |