summaryrefslogtreecommitdiff
path: root/Source/cmLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-30 10:44:00 -0400
committerKen Martin <ken.martin@kitware.com>2001-04-30 10:44:00 -0400
commit2da0c57d46d5b68e19b60c4e6560fbd80f808ab0 (patch)
tree92bda106078e740b25b5d3922a89db1a6f6a996b /Source/cmLinkLibrariesCommand.cxx
parent13143f51d2f7096efc90624045f2b9ae26cc1fcd (diff)
downloadcmake-2da0c57d46d5b68e19b60c4e6560fbd80f808ab0.tar.gz
added TARGET_LINK_LIBRARY command and support for debug and release libraries to link against
Diffstat (limited to 'Source/cmLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmLinkLibrariesCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLinkLibrariesCommand.cxx b/Source/cmLinkLibrariesCommand.cxx
index 3f52e16a2c..2d4a843c25 100644
--- a/Source/cmLinkLibrariesCommand.cxx
+++ b/Source/cmLinkLibrariesCommand.cxx
@@ -57,13 +57,13 @@ bool cmLinkLibrariesCommand::Invoke(std::vector<std::string>& args)
{
++i;
m_Makefile->AddLinkLibrary(i->c_str(),
- cmMakefile::DEBUG);
+ cmTarget::DEBUG);
}
else if (*i == "optimized")
{
++i;
m_Makefile->AddLinkLibrary(i->c_str(),
- cmMakefile::OPTIMIZED);
+ cmTarget::OPTIMIZED);
}
else
{