diff options
author | Richard <richard@oehli.at> | 2020-02-26 08:21:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-26 12:18:44 (GMT) |
commit | 426941c433039d4f5852a8a177b3047f87f5c822 (patch) | |
tree | 98502d216412450d3451dd8b6fc41c17635eb2ed /Modules | |
parent | 125f0451a9061c60036c5f92d104ee9fb3111a98 (diff) | |
download | CMake-426941c433039d4f5852a8a177b3047f87f5c822.zip CMake-426941c433039d4f5852a8a177b3047f87f5c822.tar.gz CMake-426941c433039d4f5852a8a177b3047f87f5c822.tar.bz2 |
Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOC
Qt 5.14 introduced a new moc keyword `Q_NAMESPACE_EXPORT`.
Qt-Issue: https://bugreports.qt.io/browse/QTBUG-68014
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeGenericSystem.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake index 7efe5c4..f539b46 100644 --- a/Modules/CMakeGenericSystem.cmake +++ b/Modules/CMakeGenericSystem.cmake @@ -27,7 +27,7 @@ set(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a") set(CMAKE_AUTOGEN_ORIGIN_DEPENDS ON) set(CMAKE_AUTOMOC_COMPILER_PREDEFINES ON) set(CMAKE_AUTOMOC_PATH_PREFIX ON) -set(CMAKE_AUTOMOC_MACRO_NAMES "Q_OBJECT" "Q_GADGET" "Q_NAMESPACE") +set(CMAKE_AUTOMOC_MACRO_NAMES "Q_OBJECT" "Q_GADGET" "Q_NAMESPACE" "Q_NAMESPACE_EXPORT") # basically all general purpose OSs support shared libs set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE) |