Changeset View
Changeset View
Standalone View
Standalone View
containments/panel/CMakeLists.txt
1 | set(phonepanel_SRCS | 1 | set(phonepanel_SRCS | ||
---|---|---|---|---|---|
2 | phonepanel.cpp | 2 | phonepanel.cpp | ||
3 | ) | 3 | ) | ||
4 | 4 | | |||
5 | add_library(plasma_applet_phonepanel MODULE ${phonepanel_SRCS}) | 5 | add_library(plasma_applet_phonepanel MODULE ${phonepanel_SRCS}) | ||
6 | 6 | | |||
7 | kcoreaddons_desktop_to_json(plasma_applet_phonepanel package/metadata.desktop) | 7 | kcoreaddons_desktop_to_json(plasma_applet_phonepanel package/metadata.desktop) | ||
8 | 8 | | |||
9 | target_link_libraries(plasma_applet_phonepanel | 9 | target_link_libraries(plasma_applet_phonepanel | ||
10 | Qt5::Gui | 10 | Qt5::Gui | ||
11 | KF5::Plasma | 11 | KF5::Plasma | ||
12 | KF5::I18n | 12 | KF5::I18n | ||
13 | ${GSTREAMER_LIBRARIES} ${GLIB2_LIBRARIES} ${GOBJECT_LIBRARIES}) | 13 | ${GSTREAMER_LIBRARIES} GLIB2::GLIB2 ${GOBJECT_LIBRARIES}) | ||
14 | 14 | | |||
15 | target_include_directories(plasma_applet_phonepanel PRIVATE "${GSTREAMER_INCLUDE_DIR}") | 15 | target_include_directories(plasma_applet_phonepanel PRIVATE "${GSTREAMER_INCLUDE_DIR}") | ||
16 | 16 | | |||
17 | install(TARGETS plasma_applet_phonepanel DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets) | 17 | install(TARGETS plasma_applet_phonepanel DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets) | ||
18 | #install(FILES plasma-phonepanel-default.desktop DESTINATION ${SERVICES_INSTALL_DIR}) | 18 | #install(FILES plasma-phonepanel-default.desktop DESTINATION ${SERVICES_INSTALL_DIR}) | ||
19 | 19 | | |||
20 | plasma_install_package(package org.kde.phone.panel) | 20 | plasma_install_package(package org.kde.phone.panel) | ||
21 | 21 | |