From 2533d55099a5f278fe9c84ead0996176d18b88a0 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Thu, 24 May 2001 21:14:53 -0400 Subject: [PATCH] The path found is now collapsed (cleaner). --- Source/cmFindPathCommand.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmFindPathCommand.cxx b/Source/cmFindPathCommand.cxx index dff1feee7..cb4e7db61 100644 --- a/Source/cmFindPathCommand.cxx +++ b/Source/cmFindPathCommand.cxx @@ -87,6 +87,7 @@ bool cmFindPathCommand::Invoke(std::vector& 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(),