diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-10 11:56:36 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-14 22:41:22 (GMT) |
commit | 482b3811e4e6043c71632b560f2e773289eeb320 (patch) | |
tree | 1f9f97647dfcb403bb62af639a8666d0994bce5b /Source/cmCPluginAPI.cxx | |
parent | 2ee1cb85e855ce0596e85ef1fc53c5c25cc1465f (diff) | |
download | CMake-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/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 06eb3ec..e439182 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -373,13 +373,13 @@ void CCONV cmAddLinkLibraryForTarget(void *arg, const char *tgt, switch (libtype) { case CM_LIBRARY_GENERAL: - mf->AddLinkLibraryForTarget(tgt,value, cmTarget::GENERAL); + mf->AddLinkLibraryForTarget(tgt,value, GENERAL_LibraryType); break; case CM_LIBRARY_DEBUG: - mf->AddLinkLibraryForTarget(tgt,value, cmTarget::DEBUG); + mf->AddLinkLibraryForTarget(tgt,value, DEBUG_LibraryType); break; case CM_LIBRARY_OPTIMIZED: - mf->AddLinkLibraryForTarget(tgt,value, cmTarget::OPTIMIZED); + mf->AddLinkLibraryForTarget(tgt,value, OPTIMIZED_LibraryType); break; } } |