Check for dbus-1 when building with cloudproviders
authornextch <97217716+nextch@users.noreply.github.com>
Sat, 8 Jan 2022 14:52:11 +0000 (16:52 +0200)
committernextch <97217716+nextch@users.noreply.github.com>
Sat, 8 Jan 2022 14:56:40 +0000 (16:56 +0200)
Resolves: 4153
Signed-off-by: nextch <97217716+nextch@users.noreply.github.com>
CMakeLists.txt

index 930e5a9e7968a630554a72ffb1273970064aab82..ce558496e0d22467dd41db70657bbf2ae8d6a59c 100644 (file)
@@ -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()