Browse Source

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

Brad King 18 years ago
parent
commit
8175b10078
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/cmMakefile.cxx

+ 2 - 0
Source/cmMakefile.cxx

@@ -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;
 }