BUG: Disable enforcement of unique target names until CTestTargets can be fixed.

This commit is contained in:
Brad King 2008-02-12 10:19:38 -05:00
parent 3fa087c8ab
commit 8175b10078
1 changed files with 2 additions and 0 deletions

View File

@ -3156,6 +3156,7 @@ bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg)
msg = e.str(); msg = e.str();
return false; return false;
} }
#if 0 /* disable until CTestTargets can be fixed */
else if(!this->NeedBackwardsCompatibility(2, 4)) else if(!this->NeedBackwardsCompatibility(2, 4))
{ {
// The conflict is with a non-imported target. Produce an error // 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(); msg = e.str();
return false; return false;
} }
#endif
} }
return true; return true;
} }