kdelibs/knotify/CMakeLists.txt
Ivailo Monev d398932909 generic: drop Phonon in favour of MPV and custom player classes
kcompactdisc was remove because there is no use for it in the
current set of applications supported, if it is needed it will
need some work to make it use KMediaPlayer or whatever.

the Plasma VideoWidget class was dropped because custom widgets
(at some point) will be dropped unless absolutely needed and
hopefully getting rid of the heavy-weight QML stuff.

the new KMediaPlayer and KMediaWidgets classes are experimental
but they have been tested and they work as they should.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 02:43:02 +00:00

49 lines
985 B
CMake

project(knotify)
include_directories(
${KDE4_KIO_INCLUDES}
${CMAKE_SOURCE_DIR}/kutils/kmediaplayer
)
if(ENABLE_TESTING)
add_subdirectory(tests)
endif()
########### next target ###############
set(knotifyconfig_LIB_SRCS
knotifyconfigactionswidget.cpp
knotifyconfigelement.cpp
knotifyeventlist.cpp
knotifyconfigwidget.cpp
)
add_library(knotifyconfig ${LIBRARY_TYPE} ${knotifyconfig_LIB_SRCS})
# Needs KIO for KUrlRequester
target_link_libraries(knotifyconfig
${KDE4_KIO_LIBS}
${KDE4_KDECORE_LIBS}
${QT_QTGUI_LIBRARY}
kmediaplayer
)
set_target_properties(knotifyconfig PROPERTIES
VERSION ${GENERIC_LIB_VERSION}
SOVERSION ${GENERIC_LIB_SOVERSION}
)
install(
TARGETS knotifyconfig
EXPORT kdelibsLibraryTargets
${INSTALL_TARGETS_DEFAULT_ARGS}
)
########### install files ###############
install(
FILES
knotifyconfig_export.h
knotifyconfigwidget.h
DESTINATION ${INCLUDE_INSTALL_DIR}
COMPONENT Devel
)