Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / client / CMakeLists.txt
blobf21e90ee8656e94e093a18defe0c2bb163da8998
1 ########### kfmclient ###############
3 set(kfmclient_SRCS kfmclient.cpp )
5 qt4_add_dbus_interface( kfmclient_SRCS ../src/org.kde.Konqueror.Main.xml konq_main_interface )
6 qt4_add_dbus_interface( kfmclient_SRCS ../src/org.kde.Konqueror.MainWindow.xml konq_mainwindow_interface )
9 add_definitions(-DQT_NO_CAST_ASCII)
11 kde4_add_app_icon(kfmclient_SRCS "${KDE4_ICON_INSTALL_DIR}/oxygen/*/apps/system-file-manager.png")
13 if (WIN32)
14     add_definitions(-Dkdemain=main)
15     kde4_add_executable(kfmclient ${kfmclient_SRCS})
16     target_link_libraries(kfmclient  ${KDE4_KIO_LIBS} )
17 else (WIN32)
18     kde4_add_kdeinit_executable( kfmclient NOGUI ${kfmclient_SRCS})
19     target_link_libraries(kdeinit_kfmclient  ${KDE4_KIO_LIBS} ${X11_LIBRARIES})
20     install(TARGETS kdeinit_kfmclient  ${INSTALL_TARGETS_DEFAULT_ARGS} )
21 endif (WIN32)
23 install(TARGETS kfmclient ${INSTALL_TARGETS_DEFAULT_ARGS})
25 ########### install files ###############
26 if( NOT WIN32)
27   install( FILES kfmclient_3_2.upd  DESTINATION  ${KCONF_UPDATE_INSTALL_DIR} )
28   install( PROGRAMS kfmclient_3_2_update.sh  DESTINATION  ${KCONF_UPDATE_INSTALL_DIR} )
29 endif( NOT WIN32)