some cleanup from the last change SVN_SILENT
[kdegraphics.git] / kruler / CMakeLists.txt
blob27e6708715d28bdf981396dc3bdba8d942623b42
1 project(kruler)
3 add_subdirectory( pics )
5 ########### next target ###############
7 set(kruler_SRCS qautosizelabel.cpp klineal.cpp main.cpp)
9 kde4_add_ui_files(kruler_SRCS cfg_appearance.ui)
11 kde4_add_kcfg_files(kruler_SRCS kruler.kcfgc)
13 kde4_add_app_icon(kruler_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/hi*-apps-kruler.png")
15 kde4_add_executable(kruler ${kruler_SRCS})
17 target_link_libraries(kruler ${KDE4_KDEUI_LIBS})
19 install(TARGETS kruler ${INSTALL_TARGETS_DEFAULT_ARGS})
22 ########### install files ###############
24 install( FILES kruler.desktop  DESTINATION  ${XDG_APPS_INSTALL_DIR} )
25 install( FILES kruler.notifyrc  DESTINATION  ${DATA_INSTALL_DIR}/kruler )
26 install( FILES move.wav  DESTINATION  ${DATA_INSTALL_DIR}/kruler/sounds )