mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user