mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
39 lines
986 B
CMake
39 lines
986 B
CMake
set(libklipper_common_SRCS
|
|
klipper.cpp
|
|
urlgrabber.cpp
|
|
configdialog.cpp
|
|
history.cpp
|
|
historyitem.cpp
|
|
historystringitem.cpp
|
|
klipperpopup.cpp
|
|
popupproxy.cpp
|
|
historyimageitem.cpp
|
|
historyurlitem.cpp
|
|
actionstreewidget.cpp
|
|
editactiondialog.cpp
|
|
clipcommandprocess.cpp
|
|
generalconfig.ui
|
|
actionsconfig.ui
|
|
editactiondialog.ui
|
|
)
|
|
|
|
kde4_add_kcfg_files(libklipper_common_SRCS klippersettings.kcfgc)
|
|
|
|
set(klipper_SRCS ${libklipper_common_SRCS} main.cpp tray.cpp)
|
|
|
|
add_executable(klipper ${klipper_SRCS})
|
|
|
|
target_link_libraries(klipper
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDE4_KFILE_LIBS}
|
|
${QT_QTNETWORK_LIBRARY}
|
|
${X11_LIBRARIES}
|
|
)
|
|
if (X11_Xfixes_FOUND)
|
|
target_link_libraries(klipper ${X11_Xfixes_LIB})
|
|
endif (X11_Xfixes_FOUND)
|
|
|
|
install(TARGETS klipper ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
install(PROGRAMS klipper.desktop DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR})
|
|
install(PROGRAMS klipper.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})
|