X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=3601b0fe536aaeb3506fcaaea669792e14142e0d;hp=af3f3a39d1d37e02f8134f7865e8a269e41e054f;hb=8f50c6cce47eaae781de54eabb0dbff3cfc8b451;hpb=e128a8ef50a0a3fce1d75d7d06121b2ea6c74d6a diff --git a/CMakeLists.txt b/CMakeLists.txt index af3f3a39..3601b0fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,7 +112,6 @@ if(HAVE_EXECINFO) add_definitions(-DHAVE_EXECINFO) endif(HAVE_EXECINFO) - # Select a Qt installation here, if you don't want to use system Qt if(QT) # FindQt4 will look for the qmake binary in $PATH, so we just prepend the Qt dir @@ -138,6 +137,7 @@ if(OPENSSL_FOUND) message(STATUS "Found OpenSSL support in Qt") add_definitions(-DHAVE_SSL) set(HAVE_SSL true) + set(MOC_DEFINES ${MOC_DEFINES} -DHAVE_SSL) else(NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL") message(STATUS "No OpenSSL support found in Qt, disabling") endif(NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL") @@ -152,6 +152,7 @@ if(WITH_DBUS) add_definitions(-DHAVE_DBUS) set(LINK_DBUS DBUS) set(HAVE_DBUS true) + set(MOC_DEFINES ${MOC_DEFINES} -DHAVE_DBUS) else(QT_QTDBUS_FOUND) message(STATUS "QtDBus not found, disabling D-Bus support") endif(QT_QTDBUS_FOUND)