summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:41 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:43 (GMT)
commit12bc571c13eda8d504eac788d6b3e5e8d83e3ad3 (patch)
treeb12ebb344af549969ab5d7b8fafcd649aefb3057 /Source/cmQtAutoGenerators.cxx
parent41abdc17df99662a8e99ba895050dbc8c0e34b8e (diff)
downloadCMake-12bc571c13eda8d504eac788d6b3e5e8d83e3ad3.zip
CMake-12bc571c13eda8d504eac788d6b3e5e8d83e3ad3.tar.gz
CMake-12bc571c13eda8d504eac788d6b3e5e8d83e3ad3.tar.bz2
cmGeneratorTarget: Move GetAutoUicOptions from cmTarget.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 1322dea..a72b176 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -878,8 +878,11 @@ void cmQtAutoGenerators::MergeUicOptions(std::vector<std::string> &opts,
static void GetUicOpts(cmTarget const* target, const std::string& config,
std::string &optString)
{
+ cmGeneratorTarget *gtgt = target->GetMakefile()
+ ->GetGlobalGenerator()
+ ->GetGeneratorTarget(target);
std::vector<std::string> opts;
- target->GetAutoUicOptions(opts, config);
+ gtgt->GetAutoUicOptions(opts, config);
optString = cmJoin(opts, ";");
}