summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-26 21:29:52 (GMT)
committerBrad King <brad.king@kitware.com>2011-01-26 23:01:33 (GMT)
commit7befc00783ca9739e7585ff4d2b645a762a38396 (patch)
tree03ba33824ac0d370ce3b86968a9190d7cf087065 /Source/cmLocalGenerator.cxx
parentf0acf05656f0b5fe40e7e19adb7dd9343d674462 (diff)
downloadCMake-7befc00783ca9739e7585ff4d2b645a762a38396.zip
CMake-7befc00783ca9739e7585ff4d2b645a762a38396.tar.gz
CMake-7befc00783ca9739e7585ff4d2b645a762a38396.tar.bz2
Handle trailing slashes on add_custom_command DEPENDS
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index d3cbc1f..cd265c1 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1893,6 +1893,7 @@ bool cmLocalGenerator::GetRealDependency(const char* inName,
{
// This is a full path. Return it as given.
dep = inName;
+ cmSystemTools::ConvertToUnixSlashes(dep);
return true;
}