diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 11:12:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-22 17:23:45 (GMT) |
commit | 8ec60c675a3fb4294776b2d644974361b145c444 (patch) | |
tree | 3ba52d81d9617cf4995a8a57899ee036d3be2336 /Source/cmake.cxx | |
parent | dee197fe610b5fe50403da796539b63a74430bd3 (diff) | |
download | CMake-8ec60c675a3fb4294776b2d644974361b145c444.zip CMake-8ec60c675a3fb4294776b2d644974361b145c444.tar.gz CMake-8ec60c675a3fb4294776b2d644974361b145c444.tar.bz2 |
cmGlobalGenerator: Create GeneratorTargets with a local generator.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index e51b260..0570399 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -483,7 +483,7 @@ bool cmake::FindPackage(const std::vector<std::string>& args) std::string linkPath; std::string flags; std::string linkFlags; - gg->CreateGeneratorTargets(mf); + gg->CreateGeneratorTargets(lg.get()); cmGeneratorTarget *gtgt = gg->GetGeneratorTarget(tgt); lg->GetTargetFlags(linkLibs, frameworkPath, linkPath, flags, linkFlags, gtgt, false); |