not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / klipper / CMakeLists.txt
blob0f419ddc450c0384a083d673789ce7c07c697b73
1 kde4_no_enable_final(klipper)
3 set(libklipper_common_SRCS
4     klipper.cpp
5     urlgrabber.cpp
6     configdialog.cpp
7     clipboardpoll.cpp
8     history.cpp
9     historyitem.cpp
10     historystringitem.cpp
11     klipperpopup.cpp
12     popupproxy.cpp
13     historyimageitem.cpp
14     historyurlitem.cpp
17 set(klipper_KDEINIT_SRCS ${libklipper_common_SRCS} main.cpp tray.cpp)
19 kde4_add_kdeinit_executable(klipper ${klipper_KDEINIT_SRCS})
21 target_link_libraries(kdeinit_klipper ${KDE4_KDEUI_LIBS} ${X11_LIBRARIES} ${ZLIB_LIBRARY})
22 if (X11_Xfixes_FOUND)
23   target_link_libraries(kdeinit_klipper ${X11_Xfixes_LIB})
24 endif (X11_Xfixes_FOUND)
26 install(TARGETS kdeinit_klipper ${INSTALL_TARGETS_DEFAULT_ARGS})
27 install(TARGETS klipper         ${INSTALL_TARGETS_DEFAULT_ARGS})
29 install(FILES klipper.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
30 install(FILES klipper.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
31 install(FILES klipperrc.desktop DESTINATION ${CONFIG_INSTALL_DIR} RENAME klipperrc)