add missing file

This commit is contained in:
Patrick von Reth 2015-02-03 09:40:08 +01:00
parent 7d38b7582d
commit 7d1e8280aa
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
find_package(Qt5Multimedia QUIET)
set_package_properties(Qt5Multimedia PROPERTIES
PURPOSE "Support for sound Notifications"
TYPE OPTIONAL)
if(Qt5Multimedia_FOUND)
qt5_wrap_ui(UI soundsettings.ui)
set( SOUND_SRC
sound.cpp
soundsettings.cpp
${UI}
)
add_library(libsnore_secondary_backend_sound MODULE ${SOUND_SRC} )
target_link_libraries(libsnore_secondary_backend_sound Snore::Libsnore Qt5::Multimedia)
install(TARGETS libsnore_secondary_backend_sound ${SNORE_PLUGIN_INSTALL_PATH})
endif()

View File

@ -0,0 +1 @@
{ "type" : "secondary_backend", "name" : "Sound" }