mpris: also accept -DUSE_BASU=1 or -DUSE_BASU=ON

This commit is contained in:
Jan Beich 2023-05-30 02:49:21 +00:00
parent b403527131
commit 2ee3970919

View File

@ -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")