diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-09-29 08:31:22 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-09-29 13:00:47 (GMT) |
commit | 1d7f099d9cf489872a70b7616ff644cd4a91a7ae (patch) | |
tree | feecd79956890f7a5677b5add49a0cf651eb6acf /Modules/CMakeGenericSystem.cmake | |
parent | e182ba735e17bd5625ddfe7f796a123a383ff02f (diff) | |
download | CMake-1d7f099d9cf489872a70b7616ff644cd4a91a7ae.zip CMake-1d7f099d9cf489872a70b7616ff644cd4a91a7ae.tar.gz CMake-1d7f099d9cf489872a70b7616ff644cd4a91a7ae.tar.bz2 |
Autogen: Add (CMAKE_)AUTOMOC_COMPILER_PREDEFINES
Diffstat (limited to 'Modules/CMakeGenericSystem.cmake')
-rw-r--r-- | Modules/CMakeGenericSystem.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake index 3951b2c..324a279 100644 --- a/Modules/CMakeGenericSystem.cmake +++ b/Modules/CMakeGenericSystem.cmake @@ -23,6 +23,7 @@ set(CMAKE_DL_LIBS "dl") set(CMAKE_FIND_LIBRARY_PREFIXES "lib") set(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a") +set(CMAKE_AUTOMOC_COMPILER_PREDEFINES ON) set(CMAKE_AUTOMOC_MACRO_NAMES "Q_OBJECT" "Q_GADGET" "Q_NAMESPACE") # basically all general purpose OSs support shared libs |