summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenGlobalInitializer.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-04-02 17:11:19 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-04-02 18:12:43 (GMT)
commitb32e18fb88434d3f9d58447212ee33a51430c144 (patch)
treef5caa0819c99cc73d470fb0bffe3b4f76e8a0bc5 /Source/cmQtAutoGenGlobalInitializer.cxx
parent5431395d68a44d42149fb93692636f4138ddf6ed (diff)
downloadCMake-b32e18fb88434d3f9d58447212ee33a51430c144.zip
CMake-b32e18fb88434d3f9d58447212ee33a51430c144.tar.gz
CMake-b32e18fb88434d3f9d58447212ee33a51430c144.tar.bz2
Autogen: Remove static const generator name strings from cmQtAutoGen
Diffstat (limited to 'Source/cmQtAutoGenGlobalInitializer.cxx')
-rw-r--r--Source/cmQtAutoGenGlobalInitializer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenGlobalInitializer.cxx b/Source/cmQtAutoGenGlobalInitializer.cxx
index 994cfc8..ab51570 100644
--- a/Source/cmQtAutoGenGlobalInitializer.cxx
+++ b/Source/cmQtAutoGenGlobalInitializer.cxx
@@ -81,9 +81,9 @@ cmQtAutoGenGlobalInitializer::cmQtAutoGenGlobalInitializer(
continue;
}
- bool const moc = target->GetPropertyAsBool(cmQtAutoGen::GenAUTOMOC);
- bool const uic = target->GetPropertyAsBool(cmQtAutoGen::GenAUTOUIC);
- bool const rcc = target->GetPropertyAsBool(cmQtAutoGen::GenAUTORCC);
+ bool const moc = target->GetPropertyAsBool(kw().AUTOMOC);
+ bool const uic = target->GetPropertyAsBool(kw().AUTOUIC);
+ bool const rcc = target->GetPropertyAsBool(kw().AUTORCC);
if (moc || uic || rcc) {
std::string const mocExec =
target->GetSafeProperty("AUTOMOC_EXECUTABLE");