summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-15 23:35:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:31:39 (GMT)
commitf9146f6b90d381a70bdb6a3c97742e3a53bb6235 (patch)
tree9cd1c197d542112138c444fa0b6106f5f8070022 /Source/cmake.cxx
parent9facfd133654098ac59c0df957555ea5b5ed9a5a (diff)
downloadCMake-f9146f6b90d381a70bdb6a3c97742e3a53bb6235.zip
CMake-f9146f6b90d381a70bdb6a3c97742e3a53bb6235.tar.gz
CMake-f9146f6b90d381a70bdb6a3c97742e3a53bb6235.tar.bz2
Port cmLocalGenerator::GetTargetFlags to cmGeneratorTarget.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index c6787b9..e559fe0 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -630,7 +630,8 @@ bool cmake::FindPackage(const std::vector<std::string>& args)
std::string linkLibs;
std::string flags;
std::string linkFlags;
- lg->GetTargetFlags(linkLibs, flags, linkFlags, *tgt);
+ cmGeneratorTarget gtgt(tgt);
+ lg->GetTargetFlags(linkLibs, flags, linkFlags, &gtgt);
printf("%s\n", linkLibs.c_str() );