summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorLukáš Pražák <lucaschyba@gmail.com>2026-01-30 01:31:18 +0100
committerGitHub <noreply@github.com>2026-01-30 11:31:18 +1100
commit39e38e8e76bd1f60970775d112f77dfc9781f82d (patch)
tree5a6db48039d7f950aa84f327c7ca830614c9c0e0 /plugin
parentconfig: serialize brightnessIncrement (#1117) (diff)
downloadcaelestia-shell-39e38e8e76bd1f60970775d112f77dfc9781f82d.tar.gz
caelestia-shell-39e38e8e76bd1f60970775d112f77dfc9781f82d.tar.bz2
caelestia-shell-39e38e8e76bd1f60970775d112f77dfc9781f82d.zip
plugin: fix build on NixOS (#1128)
* plugin fix libcava for NixOS * plugin: fix cava by try found
Diffstat (limited to 'plugin')
-rw-r--r--plugin/src/Caelestia/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/src/Caelestia/CMakeLists.txt b/plugin/src/Caelestia/CMakeLists.txt
index e4a0201..1b7d0e4 100644
--- a/plugin/src/Caelestia/CMakeLists.txt
+++ b/plugin/src/Caelestia/CMakeLists.txt
@@ -3,7 +3,10 @@ find_package(PkgConfig REQUIRED)
pkg_check_modules(Qalculate IMPORTED_TARGET libqalculate REQUIRED)
pkg_check_modules(Pipewire IMPORTED_TARGET libpipewire-0.3 REQUIRED)
pkg_check_modules(Aubio IMPORTED_TARGET aubio REQUIRED)
-pkg_check_modules(Cava IMPORTED_TARGET libcava REQUIRED)
+pkg_check_modules(Cava IMPORTED_TARGET libcava QUIET)
+if(NOT Cava_FOUND)
+ pkg_check_modules(Cava IMPORTED_TARGET cava REQUIRED)
+endif()
set(QT_QML_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/qml")
qt_standard_project_setup(REQUIRES 6.9)