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-04 22:38:23 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-04 22:38:23 +1000
commitd5afda9d953f423fb88100e0d496db87a0e3e47d (patch)
treee6125d7740820c654eeb85336f43aafaba47719a /plugin/src/Caelestia/CMakeLists.txt
parentnix: remove unneeded deps (diff)
downloadcaelestia-shell-d5afda9d953f423fb88100e0d496db87a0e3e47d.tar.gz
caelestia-shell-d5afda9d953f423fb88100e0d496db87a0e3e47d.tar.bz2
caelestia-shell-d5afda9d953f423fb88100e0d496db87a0e3e47d.zip
plugin: add BeatTracker
Replaces beat-detector.cpp
Diffstat (limited to 'plugin/src/Caelestia/CMakeLists.txt')
-rw-r--r--plugin/src/Caelestia/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugin/src/Caelestia/CMakeLists.txt b/plugin/src/Caelestia/CMakeLists.txt
index 6461027..cc8e567 100644
--- a/plugin/src/Caelestia/CMakeLists.txt
+++ b/plugin/src/Caelestia/CMakeLists.txt
@@ -1,5 +1,6 @@
find_package(PkgConfig REQUIRED)
pkg_check_modules(QALCULATE REQUIRED libqalculate)
+pkg_check_modules(AUBIO REQUIRED aubio)
qt_add_qml_module(caelestia
URI Caelestia
@@ -9,6 +10,7 @@ qt_add_qml_module(caelestia
cachingimagemanager.hpp cachingimagemanager.cpp
filesystemmodel.hpp filesystemmodel.cpp
qalculator.hpp qalculator.cpp
+ beattracker.hpp beattracker.cpp
)
qt_query_qml_module(caelestia
@@ -28,5 +30,8 @@ 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})
-target_link_libraries(caelestia PRIVATE Qt::Core Qt::Qml Qt::Gui Qt::Concurrent ${QALCULATE_LIBRARIES})
+target_include_directories(caelestia SYSTEM PRIVATE ${QALCULATE_INCLUDE_DIRS} ${AUBIO_INCLUDE_DIRS})
+target_link_libraries(caelestia PRIVATE
+ Qt::Core Qt::Qml Qt::Gui Qt::Concurrent Qt::Multimedia
+ ${QALCULATE_LIBRARIES} ${AUBIO_LIBRARIES}
+)