add more spacing
[personal-kdebase.git] / apps / kdialog / CMakeLists.txt
blob7a90fa08e16dcb028d478f75978cc115aaf1a45d
1 set(kdialog_SRCS
2     kdialog.cpp
3     widgets.cpp
4     klistboxdialog.cpp
5     progressdialog.cpp)
7 qt4_add_dbus_adaptor( kdialog_SRCS org.kde.kdialog.ProgressDialog.xml progressdialog.h KProgressDialog )
9 kde4_add_executable(kdialog ${kdialog_SRCS})
11 # Need libkfile due to the code that adjusts the geometry of the KDirSelectDialog
12 target_link_libraries(kdialog ${KDE4_KFILE_LIBS} ${KDE4_KIO_LIBS})
13 if (Q_WS_X11)
14   target_link_libraries(kdialog ${X11_X11_LIB})
15   if (QT_QTDBUS_FOUND)
16     target_link_libraries(kdialog ${QT_QTDBUS_LIBRARY})
17   endif (QT_QTDBUS_FOUND)
18 endif (Q_WS_X11)
20 install(TARGETS kdialog ${INSTALL_TARGETS_DEFAULT_ARGS})
21 install(FILES org.kde.kdialog.ProgressDialog.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )