summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomTargetCommand.cxx
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-09-11 09:22:40 (GMT)
committerDaniel Eiband <daniel.eiband@brainlab.com>2019-09-13 16:09:23 (GMT)
commit445ff5ccdf7f888b48d12076fb42ca856482779f (patch)
tree1929ccabb7336f01cf8535763767b33f91334cc9 /Source/cmAddCustomTargetCommand.cxx
parent19bcdca93c3a05db12652677f8d0e310797bb375 (diff)
downloadCMake-445ff5ccdf7f888b48d12076fb42ca856482779f.zip
CMake-445ff5ccdf7f888b48d12076fb42ca856482779f.tar.gz
CMake-445ff5ccdf7f888b48d12076fb42ca856482779f.tar.bz2
Byproducts: collapse full paths of custom target byproducts
Collapse full paths of add_custom_target command byproducts for symmetry with byproducts passed to the add_custom_command command.
Diffstat (limited to 'Source/cmAddCustomTargetCommand.cxx')
-rw-r--r--Source/cmAddCustomTargetCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx
index caea510..ec5c1a7 100644
--- a/Source/cmAddCustomTargetCommand.cxx
+++ b/Source/cmAddCustomTargetCommand.cxx
@@ -127,7 +127,7 @@ bool cmAddCustomTargetCommand(std::vector<std::string> const& args,
}
filename += copy;
cmSystemTools::ConvertToUnixSlashes(filename);
- byproducts.push_back(filename);
+ byproducts.push_back(cmSystemTools::CollapseFullPath(filename));
} break;
case doing_depends: {
std::string dep = copy;