2007-12-24 11:34:47 +00:00
|
|
|
set(kdialog_SRCS
|
|
|
|
kdialog.cpp
|
|
|
|
widgets.cpp
|
|
|
|
klistboxdialog.cpp
|
|
|
|
progressdialog.cpp)
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2006-07-05 22:08:20 +00:00
|
|
|
qt4_add_dbus_adaptor( kdialog_SRCS org.kde.kdialog.ProgressDialog.xml progressdialog.h KProgressDialog )
|
|
|
|
|
2006-02-28 08:01:15 +00:00
|
|
|
kde4_add_executable(kdialog ${kdialog_SRCS})
|
|
|
|
|
2007-04-02 10:19:47 +00:00
|
|
|
# Need libkfile due to the code that adjusts the geometry of the KDirSelectDialog
|
2008-10-26 23:55:34 +00:00
|
|
|
target_link_libraries(kdialog ${KDE4_KFILE_LIBS} ${KDE4_KIO_LIBS})
|
2008-07-29 10:02:28 +00:00
|
|
|
if (Q_WS_X11)
|
|
|
|
target_link_libraries(kdialog ${X11_X11_LIB})
|
2009-01-18 23:44:47 +00:00
|
|
|
if (QT_QTDBUS_FOUND)
|
|
|
|
target_link_libraries(kdialog ${QT_QTDBUS_LIBRARY})
|
|
|
|
endif (QT_QTDBUS_FOUND)
|
2008-07-29 10:02:28 +00:00
|
|
|
endif (Q_WS_X11)
|
2006-02-28 08:01:15 +00:00
|
|
|
|
2008-05-27 11:36:57 +00:00
|
|
|
install(TARGETS kdialog ${INSTALL_TARGETS_DEFAULT_ARGS})
|
2007-07-23 07:01:14 +00:00
|
|
|
install(FILES org.kde.kdialog.ProgressDialog.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
|