2014-11-19 17:18:01 +00:00
|
|
|
include_directories(
|
|
|
|
../../
|
|
|
|
)
|
|
|
|
|
|
|
|
set(kget_mirrorsearchfactory_PART_SRCS
|
2015-09-02 02:13:50 +03:00
|
|
|
mirrors.cpp
|
|
|
|
mirrorsearchtransferdatasource.cpp
|
|
|
|
mirrorsearchfactory.cpp
|
2014-11-19 17:18:01 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_kcfg_files(kget_mirrorsearchfactory_PART_SRCS mirrorsearchsettings.kcfgc)
|
|
|
|
|
|
|
|
kde4_add_plugin(kget_mirrorsearchfactory ${kget_mirrorsearchfactory_PART_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(kget_mirrorsearchfactory ${KDE4_KIO_LIBS} kgetcore)
|
|
|
|
|
2020-02-08 18:39:41 +00:00
|
|
|
install(TARGETS kget_mirrorsearchfactory DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES kget_mirrorsearchfactory.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(FILES kget_mirrorsearchfactory.kcfg DESTINATION ${KDE4_KCFG_INSTALL_DIR})
|
2014-11-19 17:18:01 +00:00
|
|
|
|
|
|
|
###Build KCM-Module
|
|
|
|
set(kcm_kget_mirrorsearchfactory_PART_SRCS
|
2015-09-02 02:13:50 +03:00
|
|
|
dlgmirrorsearch.cpp
|
|
|
|
dlgmirrorsearch.ui
|
|
|
|
dlgengineediting.ui
|
2014-11-19 17:18:01 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_kcfg_files(kcm_kget_mirrorsearchfactory_PART_SRCS mirrorsearchsettings.kcfgc)
|
|
|
|
kde4_add_plugin(kcm_kget_mirrorsearchfactory ${kcm_kget_mirrorsearchfactory_PART_SRCS})
|
|
|
|
target_link_libraries(kcm_kget_mirrorsearchfactory ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
|
2020-02-08 18:39:41 +00:00
|
|
|
install(TARGETS kcm_kget_mirrorsearchfactory DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2014-11-19 17:18:01 +00:00
|
|
|
|
2020-02-08 18:39:41 +00:00
|
|
|
install(FILES kget_mirrorsearchfactory_config.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|