BUG: Disable enforcement of unique target names until CTestTargets can be fixed.
This commit is contained in:
parent
3fa087c8ab
commit
8175b10078
|
@ -3156,6 +3156,7 @@ bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg)
|
|||
msg = e.str();
|
||||
return false;
|
||||
}
|
||||
#if 0 /* disable until CTestTargets can be fixed */
|
||||
else if(!this->NeedBackwardsCompatibility(2, 4))
|
||||
{
|
||||
// The conflict is with a non-imported target. Produce an error
|
||||
|
@ -3174,6 +3175,7 @@ bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg)
|
|||
msg = e.str();
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue