mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
36 lines
759 B
Text
36 lines
759 B
Text
![]() |
set(kdialog_SRCS
|
||
|
kdialog.cpp
|
||
|
widgets.cpp
|
||
|
klistboxdialog.cpp
|
||
|
progressdialog.cpp)
|
||
|
|
||
|
qt4_add_dbus_adaptor(kdialog_SRCS
|
||
|
org.kde.kdialog.ProgressDialog.xml
|
||
|
progressdialog.h
|
||
|
KProgressDialog
|
||
|
)
|
||
|
|
||
|
add_executable(kdialog ${kdialog_SRCS})
|
||
|
|
||
|
# Need libkfile due to the code that adjusts the geometry of the KDirSelectDialog
|
||
|
target_link_libraries(kdialog
|
||
|
${KDE4_KFILE_LIBS}
|
||
|
${KDE4_KIO_LIBS}
|
||
|
)
|
||
|
|
||
|
if(Q_WS_X11)
|
||
|
target_link_libraries(kdialog ${X11_X11_LIB})
|
||
|
if (QT_QTDBUS_FOUND)
|
||
|
target_link_libraries(kdialog ${QT_QTDBUS_LIBRARY})
|
||
|
endif ()
|
||
|
endif()
|
||
|
|
||
|
install(
|
||
|
TARGETS kdialog
|
||
|
${INSTALL_TARGETS_DEFAULT_ARGS}
|
||
|
)
|
||
|
install(
|
||
|
FILES org.kde.kdialog.ProgressDialog.xml
|
||
|
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR}
|
||
|
)
|