2015-09-01 04:37:19 +03:00
|
|
|
set(kcm_device_automounter_SRCS
|
|
|
|
DeviceAutomounterKCM.cpp
|
|
|
|
DeviceModel.cpp
|
|
|
|
DeviceAutomounterKCM.ui
|
|
|
|
)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
kde4_add_kcfg_files(kcm_device_automounter_SRCS
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../lib/AutomounterSettingsBase.kcfgc
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/LayoutSettings.kcfgc
|
|
|
|
)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
kde4_add_plugin(kcm_device_automounter ${kcm_device_automounter_SRCS} ${device_automounter_lib_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(kcm_device_automounter ${KDE4_KDEUI_LIBS} ${KDE4_SOLID_LIBS})
|
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS kcm_device_automounter DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install(FILES device_automounter_kcm.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|