cmLocalGenerator: Move variable to where it is used

This commit is contained in:
Stephen Kelly 2016-10-08 12:21:37 +02:00
parent 011e6870e4
commit 0152a01f11

View File

@ -1411,8 +1411,6 @@ void cmLocalGenerator::OutputLinkLibraries(
std::string linkLanguage = cli.GetLinkLanguage();
std::string linkLibs;
std::string libPathFlag =
this->Makefile->GetRequiredDefinition("CMAKE_LIBRARY_PATH_FLAG");
std::string libPathTerminator =
@ -1455,6 +1453,8 @@ void cmLocalGenerator::OutputLinkLibraries(
linkPath += " ";
}
std::string linkLibs;
// Append the link items.
typedef cmComputeLinkInformation::ItemVector ItemVector;
ItemVector const& items = cli.GetItems();