X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2FCMakeLists.txt;h=3dbfc88ddb908227f4423d858407a53ae8d4fe1d;hp=a636eb20386a09103ba9250ed931169730e1bfc6;hb=dd10a98793d8c158417a8830194ca9b5d1302424;hpb=2f83cb6d01ff68131528797020637887fe0e77b7 diff --git a/src/qtui/CMakeLists.txt b/src/qtui/CMakeLists.txt index a636eb20..3dbfc88d 100644 --- a/src/qtui/CMakeLists.txt +++ b/src/qtui/CMakeLists.txt @@ -105,7 +105,10 @@ endforeach(FRM ${SP_FORMS}) qt4_wrap_cpp(MOC ${MOC_HDRS} ${SPHDR}) qt4_wrap_ui(UI ${FORMPATH} ${SPFRM}) -qt4_add_dbus_interface(DBUS ../../interfaces/org.freedesktop.Notifications.xml desktopnotifications) + +IF(HAVE_DBUS) + qt4_add_dbus_interface(DBUS ../../interfaces/org.freedesktop.Notifications.xml desktopnotifications) +ENDIF(HAVE_DBUS) include_directories(${CMAKE_SOURCE_DIR}/src/common ${CMAKE_SOURCE_DIR}/src/client