An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 0152a01f authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmLocalGenerator: Move variable to where it is used

parent 011e6870
Pipeline #30054 passed with stage
...@@ -1411,8 +1411,6 @@ void cmLocalGenerator::OutputLinkLibraries( ...@@ -1411,8 +1411,6 @@ void cmLocalGenerator::OutputLinkLibraries(
std::string linkLanguage = cli.GetLinkLanguage(); std::string linkLanguage = cli.GetLinkLanguage();
std::string linkLibs;
std::string libPathFlag = std::string libPathFlag =
this->Makefile->GetRequiredDefinition("CMAKE_LIBRARY_PATH_FLAG"); this->Makefile->GetRequiredDefinition("CMAKE_LIBRARY_PATH_FLAG");
std::string libPathTerminator = std::string libPathTerminator =
...@@ -1455,6 +1453,8 @@ void cmLocalGenerator::OutputLinkLibraries( ...@@ -1455,6 +1453,8 @@ void cmLocalGenerator::OutputLinkLibraries(
linkPath += " "; linkPath += " ";
} }
std::string linkLibs;
// Append the link items. // Append the link items.
typedef cmComputeLinkInformation::ItemVector ItemVector; typedef cmComputeLinkInformation::ItemVector ItemVector;
ItemVector const& items = cli.GetItems(); ItemVector const& items = cli.GetItems();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment