summaryrefslogtreecommitdiff
path: root/Source/cmAddLibraryCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-25 12:43:00 +0100
committerStephen Kelly <steveire@gmail.com>2015-10-27 07:44:24 +0100
commita67231ac114235f0af4673235c4c07fa896c8ab6 (patch)
tree0c23756461e3a26b8a27fc3e340c928b1ca7f62a /Source/cmAddLibraryCommand.cxx
parentd566f39a640297114bd3ad933bb3279440b2f38f (diff)
downloadcmake-a67231ac114235f0af4673235c4c07fa896c8ab6.tar.gz
cmTarget: Implement ALIAS in terms of name mapping
Remove mapping to cmTarget.
Diffstat (limited to 'Source/cmAddLibraryCommand.cxx')
-rw-r--r--Source/cmAddLibraryCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddLibraryCommand.cxx b/Source/cmAddLibraryCommand.cxx
index e0adee39fd..5296cbb365 100644
--- a/Source/cmAddLibraryCommand.cxx
+++ b/Source/cmAddLibraryCommand.cxx
@@ -314,7 +314,7 @@ bool cmAddLibraryCommand
this->SetError(e.str());
return false;
}
- this->Makefile->AddAlias(libName, aliasedTarget);
+ this->Makefile->AddAlias(libName, aliasedName);
return true;
}