Fix two issues reported by Christoph Bartoschek ('Suspicious code in revision 867140...
[kdenetwork.git] / filesharing / simple / CMakeLists.txt
blob2830c6477cb4cf854cf8fe9ce9e948b63ab4cad4
5 ########### next target ###############
7 set(kcm_fileshare_PART_SRCS fileshare.cpp groupconfigdlg.cpp krichtextlabel.cpp ${libfilesharesamba_SRCS} ${libfilesharenfs_SRCS} ${fileshare_propsdlgplugin_SRCS} ${libpropsdlgplugin_common_SRCS})
11 kde4_add_ui3_files(kcm_fileshare_PART_SRCS 
12                 controlcenter.ui 
13                 groupconfiggui.ui 
14                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/socketoptionsdlg.ui
15                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/userselectdlg.ui
16                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/groupselectdlg.ui
17                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/usertab.ui
18                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/filemodedlg.ui
19                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/expertuserdlg.ui
20                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/propsdlgplugin/propertiespagegui.ui
21                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/nfs/nfsdialoggui.ui
22                 ${CMAKE_SOURCE_DIR}/filesharing/advanced/nfs/hostprops.ui
23                 )
25 kde4_add_ui_files(kcm_fileshare_PART_SRCS
26         ${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/share.ui
30 kde4_add_plugin(kcm_fileshare ${kcm_fileshare_PART_SRCS})
33 target_link_libraries(kcm_fileshare  ${KDE4_KIO_LIBS} ${KDE4_KDE3SUPPORT_LIBS})
35 install(TARGETS kcm_fileshare  DESTINATION ${PLUGIN_INSTALL_DIR})
38 ########### install files ###############
40 install( FILES fileshare.desktop DESTINATION  ${SERVICES_INSTALL_DIR} )