kde-workspace/kcontrol/componentchooser/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

41 lines
898 B
CMake

add_subdirectory(componentservices)
add_subdirectory(windowmanagers)
########### next target ###############
set(kcm_componentchooser_SRCS
componentchooser.cpp
componentchooserbrowser.cpp
componentchooserfilemanager.cpp
componentchooseremail.cpp
kcm_componentchooser.cpp
)
set(kcm_componentchooser_SRCS
${kcm_componentchooser_SRCS}
componentchooserterminal.cpp
ktimerdialog.cpp
)
if(Q_WS_X11)
set(kcm_componentchooser_SRCS
${kcm_componentchooser_SRCS}
componentchooserwm.cpp
)
endif()
kde4_add_plugin(kcm_componentchooser ${kcm_componentchooser_SRCS})
target_link_libraries(kcm_componentchooser ${KDE4_KIO_LIBS})
install(
TARGETS kcm_componentchooser
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
########### install files ###############
install(
FILES componentchooser.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)