summaryrefslogtreecommitdiffstats
path: root/Source/cmExportLibraryDependenciesCommand.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/cmExportLibraryDependenciesCommand.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/cmExportLibraryDependenciesCommand.cxx')
-rw-r--r--Source/cmExportLibraryDependenciesCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExportLibraryDependenciesCommand.cxx b/Source/cmExportLibraryDependenciesCommand.cxx
index fde8fb1..0ef2ea5 100644
--- a/Source/cmExportLibraryDependenciesCommand.cxx
+++ b/Source/cmExportLibraryDependenciesCommand.cxx
@@ -120,15 +120,15 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const
std::string ltValue;
switch(li->second)
{
- case cmTarget::GENERAL:
+ case GENERAL_LibraryType:
valueNew += "general;";
ltValue = "general";
break;
- case cmTarget::DEBUG:
+ case DEBUG_LibraryType:
valueNew += "debug;";
ltValue = "debug";
break;
- case cmTarget::OPTIMIZED:
+ case OPTIMIZED_LibraryType:
valueNew += "optimized;";
ltValue = "optimized";
break;