mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-11 07:56:24 +00:00
add missing file
This commit is contained in:
parent
7d38b7582d
commit
7d1e8280aa
18
src/plugins/secondary_backends/sound/CMakeLists.txt
Normal file
18
src/plugins/secondary_backends/sound/CMakeLists.txt
Normal 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()
|
1
src/plugins/secondary_backends/sound/plugin.json
Normal file
1
src/plugins/secondary_backends/sound/plugin.json
Normal file
@ -0,0 +1 @@
|
||||
{ "type" : "secondary_backend", "name" : "Sound" }
|
Loading…
x
Reference in New Issue
Block a user