kde-workspace/solid-device-automounter/kcm/CMakeLists.txt
Ivailo Monev 591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00

20 lines
718 B
CMake

set(kcm_device_automounter_SRCS
DeviceAutomounterKCM.cpp
DeviceModel.cpp
DeviceAutomounterKCM.ui
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
kde4_add_kcfg_files(kcm_device_automounter_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/../lib/AutomounterSettingsBase.kcfgc
${CMAKE_CURRENT_SOURCE_DIR}/LayoutSettings.kcfgc
)
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})
install(TARGETS kcm_device_automounter DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES device_automounter_kcm.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})