summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-30 14:44:00 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-30 14:44:00 (GMT)
commit2da0c57d46d5b68e19b60c4e6560fbd80f808ab0 (patch)
tree92bda106078e740b25b5d3922a89db1a6f6a996b /Source/cmLinkLibrariesCommand.cxx
parent13143f51d2f7096efc90624045f2b9ae26cc1fcd (diff)
downloadCMake-2da0c57d46d5b68e19b60c4e6560fbd80f808ab0.zip
CMake-2da0c57d46d5b68e19b60c4e6560fbd80f808ab0.tar.gz
CMake-2da0c57d46d5b68e19b60c4e6560fbd80f808ab0.tar.bz2
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 3f52e16..2d4a843 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
{