summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-10 11:56:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-14 22:41:22 (GMT)
commit482b3811e4e6043c71632b560f2e773289eeb320 (patch)
tree1f9f97647dfcb403bb62af639a8666d0994bce5b /Source/cmLinkLibrariesCommand.cxx
parent2ee1cb85e855ce0596e85ef1fc53c5c25cc1465f (diff)
downloadCMake-482b3811e4e6043c71632b560f2e773289eeb320.zip
CMake-482b3811e4e6043c71632b560f2e773289eeb320.tar.gz
CMake-482b3811e4e6043c71632b560f2e773289eeb320.tar.bz2
cmTarget: Move link type enum out.
Remove a reason for generate time code to depend on the cmTarget header/type.
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 996b538..eb3bfce 100644
--- a/Source/cmLinkLibrariesCommand.cxx
+++ b/Source/cmLinkLibrariesCommand.cxx
@@ -34,7 +34,7 @@ bool cmLinkLibrariesCommand
return false;
}
this->Makefile->AddLinkLibrary(*i,
- cmTarget::DEBUG);
+ DEBUG_LibraryType);
}
else if (*i == "optimized")
{
@@ -46,7 +46,7 @@ bool cmLinkLibrariesCommand
return false;
}
this->Makefile->AddLinkLibrary(*i,
- cmTarget::OPTIMIZED);
+ OPTIMIZED_LibraryType);
}
else
{