diff options
Diffstat (limited to 'Source/PlatformQt.cmake')
-rw-r--r-- | Source/PlatformQt.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/PlatformQt.cmake b/Source/PlatformQt.cmake index 1bab6fbe5..0044dec03 100644 --- a/Source/PlatformQt.cmake +++ b/Source/PlatformQt.cmake @@ -1,3 +1,17 @@ +# Automoc + +set(TARGETS_WITH_AUTOMOC + WebKit + WebKitWidgets +) +if (ENABLE_WEBKIT2) + list(APPEND TARGETS_WITH_AUTOMOC + WebKit2 + ) +endif () +set_property(TARGET ${TARGETS_WITH_AUTOMOC} PROPERTY AUTOMOC ON) + + # Minimal debug # Builds with debug flags result in a huge amount of symbols with the GNU toolchain, |