From: nextch <97217716+nextch@users.noreply.github.com> Date: Sat, 8 Jan 2022 14:52:11 +0000 (+0200) Subject: Check for dbus-1 when building with cloudproviders X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~17^2~180^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e48879555b27b6fb6e9a55015c84fdbe1960644e;p=nextcloud-desktop.git Check for dbus-1 when building with cloudproviders Resolves: 4153 Signed-off-by: nextch <97217716+nextch@users.noreply.github.com> --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 930e5a9e7..ce558496e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -182,6 +182,7 @@ if(BUILD_CLIENT) pkg_check_modules(CLOUDPROVIDERS cloudproviders IMPORTED_TARGET) if(CLOUDPROVIDERS_FOUND) + pkg_check_modules(DBUS-1 REQUIRED dbus-1 IMPORTED_TARGET) pkg_check_modules(GIO REQUIRED gio-2.0 IMPORTED_TARGET) pkg_check_modules(GLIB2 REQUIRED glib-2.0 IMPORTED_TARGET) endif()