diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-12-07 04:05:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-12-07 04:05:10 (GMT) |
commit | 26b527ac0fd63d2a86d3552122bd44a5b32d6adb (patch) | |
tree | 1d512054b9db82a4dd45aa839faf29fd737f6ae0 /Source/cmLocalGenerator.cxx | |
parent | a44ac0719ca0919aec649fec7a9b8e592b925b0b (diff) | |
download | CMake-26b527ac0fd63d2a86d3552122bd44a5b32d6adb.zip CMake-26b527ac0fd63d2a86d3552122bd44a5b32d6adb.tar.gz CMake-26b527ac0fd63d2a86d3552122bd44a5b32d6adb.tar.bz2 |
ENH: fix bug in full path to target depends stuff
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 398093d..d437899 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1863,6 +1863,8 @@ std::string cmLocalGenerator::GetRealDependency(const char* inName, tLocation = cmSystemTools::GetFilenamePath(tLocation); std::string depLocation = cmSystemTools::GetFilenamePath( std::string(inName)); + depLocation = cmSystemTools::CollapseFullPath(depLocation.c_str()); + tLocation = cmSystemTools::CollapseFullPath(tLocation.c_str()); if(depLocation != tLocation) { // it is a full path to a depend that has the same name |