mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
cmTarget: Move link type enum out.
Remove a reason for generate time code to depend on the cmTarget header/type.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user