diff options
author | Brad King <brad.king@kitware.com> | 2020-02-28 16:14:25 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-02-28 16:14:34 (GMT) |
commit | e46f5796370b326f14478114a557aed9bf1b2268 (patch) | |
tree | 501b05cec7c88404bc840724b569aead9c0a3401 /Modules | |
parent | 2caae281722b645a5842e1f1689b152b72bb6038 (diff) | |
parent | 426941c433039d4f5852a8a177b3047f87f5c822 (diff) | |
download | CMake-e46f5796370b326f14478114a557aed9bf1b2268.zip CMake-e46f5796370b326f14478114a557aed9bf1b2268.tar.gz CMake-e46f5796370b326f14478114a557aed9bf1b2268.tar.bz2 |
Merge topic 'q_namespace_export'
426941c433 Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4398
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) |