Merge topic 'fix-12370-no-space-in-target-name'
e05e0f1
Xcode: No spaces in makefile target names (#12370)
This commit is contained in:
commit
db4154661c
|
@ -327,7 +327,9 @@ std::string
|
||||||
cmGlobalXCodeGenerator::PostBuildMakeTarget(std::string const& tName,
|
cmGlobalXCodeGenerator::PostBuildMakeTarget(std::string const& tName,
|
||||||
std::string const& configName)
|
std::string const& configName)
|
||||||
{
|
{
|
||||||
std::string out = "PostBuild." + tName;
|
std::string target = tName;
|
||||||
|
cmSystemTools::ReplaceString(target, " ", "_");
|
||||||
|
std::string out = "PostBuild." + target;
|
||||||
if(this->XcodeVersion > 20)
|
if(this->XcodeVersion > 20)
|
||||||
{
|
{
|
||||||
out += "." + configName;
|
out += "." + configName;
|
||||||
|
|
Loading…
Reference in New Issue