summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-12 15:19:38 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-12 15:19:38 (GMT)
commit8175b100789f8c2fda86fc59c1e31a52fc417f9c (patch)
treef8d052462a72a06ac3417c7b51a6078be142ba2a /Source
parent3fa087c8ab7bb6d1aa1c6a1edc32edd66e781bb8 (diff)
downloadCMake-8175b100789f8c2fda86fc59c1e31a52fc417f9c.zip
CMake-8175b100789f8c2fda86fc59c1e31a52fc417f9c.tar.gz
CMake-8175b100789f8c2fda86fc59c1e31a52fc417f9c.tar.bz2
BUG: Disable enforcement of unique target names until CTestTargets can be fixed.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 1f8c602..5834d53 100644
--- a/Source/cmMakefile.cxx
+++ b/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;
}