mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -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;
|
filename += copy;
|
||||||
cmSystemTools::ConvertToUnixSlashes(filename);
|
cmSystemTools::ConvertToUnixSlashes(filename);
|
||||||
byproducts.push_back(filename);
|
byproducts.push_back(cmSystemTools::CollapseFullPath(filename));
|
||||||
} break;
|
} break;
|
||||||
case doing_depends: {
|
case doing_depends: {
|
||||||
std::string dep = copy;
|
std::string dep = copy;
|
||||||
|
|||||||
Reference in New Issue
Block a user