summaryrefslogtreecommitdiff
path: root/plugin/src/Caelestia/CMakeLists.txt
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-07 15:18:23 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-07 15:18:23 +1000
commit07bee231269399546e81539bb58149dd11ac4aa9 (patch)
tree1d6c9ad880a9299d0f3f275c353ebb8257ef9ae2 /plugin/src/Caelestia/CMakeLists.txt
parentplugin/ap: properly buffer data (diff)
downloadcaelestia-shell-07bee231269399546e81539bb58149dd11ac4aa9.tar.gz
caelestia-shell-07bee231269399546e81539bb58149dd11ac4aa9.tar.bz2
caelestia-shell-07bee231269399546e81539bb58149dd11ac4aa9.zip
plugin: add cava provider
Diffstat (limited to 'plugin/src/Caelestia/CMakeLists.txt')
-rw-r--r--plugin/src/Caelestia/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin/src/Caelestia/CMakeLists.txt b/plugin/src/Caelestia/CMakeLists.txt
index 5ce0800..c1f3d15 100644
--- a/plugin/src/Caelestia/CMakeLists.txt
+++ b/plugin/src/Caelestia/CMakeLists.txt
@@ -1,6 +1,7 @@
find_package(PkgConfig REQUIRED)
pkg_check_modules(QALCULATE REQUIRED libqalculate)
pkg_check_modules(AUBIO REQUIRED aubio)
+pkg_check_modules(CAVA REQUIRED cava)
qt_add_qml_module(caelestia
URI Caelestia
@@ -14,6 +15,7 @@ qt_add_qml_module(caelestia
service.hpp service.cpp
serviceref.hpp serviceref.cpp
audioprovider.hpp audioprovider.cpp
+ cavaprovider.hpp cavaprovider.cpp
)
qt_query_qml_module(caelestia
@@ -33,8 +35,10 @@ install(TARGETS "${module_plugin_target}" LIBRARY DESTINATION "${module_dir}" RU
install(FILES "${module_qmldir}" DESTINATION "${module_dir}")
install(FILES "${module_typeinfo}" DESTINATION "${module_dir}")
-target_include_directories(caelestia SYSTEM PRIVATE ${QALCULATE_INCLUDE_DIRS} ${AUBIO_INCLUDE_DIRS})
+target_include_directories(caelestia SYSTEM PRIVATE
+ ${QALCULATE_INCLUDE_DIRS} ${AUBIO_INCLUDE_DIRS} ${CAVA_INCLUDE_DIRS}
+)
target_link_libraries(caelestia PRIVATE
Qt::Core Qt::Qml Qt::Gui Qt::Concurrent Qt::Multimedia
- ${QALCULATE_LIBRARIES} ${AUBIO_LIBRARIES}
+ ${QALCULATE_LIBRARIES} ${AUBIO_LIBRARIES} ${CAVA_LIBRARIES}
)