summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-07 18:13:35 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-07 18:13:35 (GMT)
commit869037ee86d1c0ab757840adf499ea270d4301e1 (patch)
tree414665897fd7d14a61de7043f52603aa459fd159 /Source/cmMakefile.cxx
parent2f6462a634726d9d0ea8d8552454839d67183016 (diff)
downloadCMake-869037ee86d1c0ab757840adf499ea270d4301e1.zip
CMake-869037ee86d1c0ab757840adf499ea270d4301e1.tar.gz
CMake-869037ee86d1c0ab757840adf499ea270d4301e1.tar.bz2
cmMakefile: Remove ALIAS check
This method is only called from the cmPlugin API, which predates ALIAS targets and is obsolete.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index c8446ac..57bab7a 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1250,13 +1250,6 @@ void cmMakefile::AddLinkDirectoryForTarget(const std::string& target,
{
cmTargets::iterator i = this->Targets.find(target);
if (i != this->Targets.end()) {
- if (this->IsAlias(target)) {
- std::ostringstream e;
- e << "ALIAS target \"" << target << "\" "
- << "may not be linked into another target.";
- this->IssueMessage(cmake::FATAL_ERROR, e.str());
- return;
- }
i->second.AddLinkDirectory(d);
} else {
cmSystemTools::Error(