diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-08-18 11:11:21 +0200 |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-08-18 12:32:04 +0200 |
commit | 93f0ba2823b694340e6cfdb4e6befbf7fcf520bd (patch) | |
tree | b49825db5cbc079d517cb81188fd973071ab54c1 /Source/cmQtAutoGeneratorInitializer.cxx | |
parent | 10edb0c7d52b1252517990c2e8b898a804f440d3 (diff) | |
download | cmake-93f0ba2823b694340e6cfdb4e6befbf7fcf520bd.tar.gz |
Autogen: Add AUTOMOC_MACRO_NAMES support
Closes #17176
Diffstat (limited to 'Source/cmQtAutoGeneratorInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGeneratorInitializer.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx index 7974977ec2..6ae101fdc0 100644 --- a/Source/cmQtAutoGeneratorInitializer.cxx +++ b/Source/cmQtAutoGeneratorInitializer.cxx @@ -380,6 +380,8 @@ static void MocSetupAutoTarget( AddDefinitionEscaped(makefile, "_moc_relaxed_mode", makefile->IsOn("CMAKE_AUTOMOC_RELAXED_MODE") ? "TRUE" : "FALSE"); + AddDefinitionEscaped(makefile, "_moc_macro_names", + GetSafeProperty(target, "AUTOMOC_MACRO_NAMES")); AddDefinitionEscaped(makefile, "_moc_depend_filters", GetSafeProperty(target, "AUTOMOC_DEPEND_FILTERS")); |