summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorInitializer.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-22 16:40:36 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-02-22 20:13:48 (GMT)
commit70ebf35cdaaf391138df7564a07cd205de4af971 (patch)
treed9ae65c5c8ef3d0283ef1264c74c59bc0031366b /Source/cmQtAutoGeneratorInitializer.cxx
parent2a6fd4328adfad4cae0097d6d71e571c122fc0d1 (diff)
downloadCMake-70ebf35cdaaf391138df7564a07cd205de4af971.zip
CMake-70ebf35cdaaf391138df7564a07cd205de4af971.tar.gz
CMake-70ebf35cdaaf391138df7564a07cd205de4af971.tar.bz2
Autogen: Add AUTOMOC_DEPEND_FILTERS support
Diffstat (limited to 'Source/cmQtAutoGeneratorInitializer.cxx')
-rw-r--r--Source/cmQtAutoGeneratorInitializer.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx
index 52112ff..de18265 100644
--- a/Source/cmQtAutoGeneratorInitializer.cxx
+++ b/Source/cmQtAutoGeneratorInitializer.cxx
@@ -218,6 +218,8 @@ static void MocSetupAutoTarget(
AddDefinitionEscaped(makefile, "_moc_relaxed_mode",
makefile->IsOn("CMAKE_AUTOMOC_RELAXED_MODE") ? "TRUE"
: "FALSE");
+ AddDefinitionEscaped(makefile, "_moc_depend_filters",
+ GetSafeProperty(target, "AUTOMOC_DEPEND_FILTERS"));
// Moc includes and compile definitions
{