shift-shell/containments/panel/CMakeLists.txt
Bhushan Shah 24f2002928 Add experimental torch plugin for top panel
This currently uses the gstreamer code and should be reverted when we
have it working through QtMultimedia.
2018-11-12 09:32:46 +05:30

21 lines
741 B
CMake

set(phonepanel_SRCS
phonepanel.cpp
)
add_library(plasma_applet_phonepanel MODULE ${phonepanel_SRCS})
kcoreaddons_desktop_to_json(plasma_applet_phonepanel package/metadata.desktop)
target_link_libraries(plasma_applet_phonepanel
Qt5::Gui
KF5::Plasma
KF5::I18n
${GSTREAMER_LIBRARIES} ${GLIB2_LIBRARIES} ${GOBJECT_LIBRARIES})
target_include_directories(plasma_applet_phonepanel PRIVATE "${GSTREAMER_INCLUDE_DIR}")
install(TARGETS plasma_applet_phonepanel DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets)
#install(FILES plasma-phonepanel-default.desktop DESTINATION ${SERVICES_INSTALL_DIR})
plasma_install_package(package org.kde.phone.panel)