From 2ee397091946edb80558885c1554818f443446b8 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 30 May 2023 02:49:21 +0000 Subject: [PATCH] mpris: also accept -DUSE_BASU=1 or -DUSE_BASU=ON --- src/plugins/mpris/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/mpris/CMakeLists.txt b/src/plugins/mpris/CMakeLists.txt index 1180d1cc8..e9c6a3742 100644 --- a/src/plugins/mpris/CMakeLists.txt +++ b/src/plugins/mpris/CMakeLists.txt @@ -2,9 +2,9 @@ set (mpris_SOURCES mpris.cpp dbus.cpp) -if (USE_ELOGIND MATCHES "true") +if (USE_ELOGIND) set(SDBUS "libelogind >= 239.3") -elseif (USE_BASU MATCHES "true") +elseif (USE_BASU) set(SDBUS "basu") else() set(SDBUS "libsystemd")