diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-08 10:21:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-10 18:38:57 (GMT) |
commit | 0152a01f11fc46f645fd765cc7b1be76cc07b52a (patch) | |
tree | cd674e53e2f6e4bb0fd52c8a890d588dc0b4c85e | |
parent | 011e6870e4a7f19476c162a8c011fd018d9a7e9c (diff) | |
download | CMake-0152a01f11fc46f645fd765cc7b1be76cc07b52a.zip CMake-0152a01f11fc46f645fd765cc7b1be76cc07b52a.tar.gz CMake-0152a01f11fc46f645fd765cc7b1be76cc07b52a.tar.bz2 |
cmLocalGenerator: Move variable to where it is used
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 3b3eea3..25755d7 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -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(); |