As TARGET_LIB_CREDS_COMMONS wasn't defined on level visible
for credential helpers build, credential libraries were not
properly linked.
Change-Id: I340cb0a312a3f98e9bf11957423a57fc40a35b65
-# Copyright (c) 2014-2021 Samsung Electronics Co., Ltd All Rights Reserved
+# Copyright (c) 2014-2022 Samsung Electronics Co., Ltd All Rights Reserved
#
# This file is licensed under the terms of MIT License or the Apache License
# Version 2.0 of your choice. See the LICENSE.MIT file for MIT license details.
ENDIF (BUILD_COMMONS)
IF (BUILD_DBUS)
+ SET(TARGET_LIB_CREDS_COMMONS "cynara-creds-commons")
SET(TARGET_LIB_CREDS_DBUS "cynara-creds-dbus")
SET(TARGET_LIB_CREDS_GDBUS "cynara-creds-gdbus")
IF (SYSTEMD_DEP_FOUND)
Requires(postun): cynara-db-migration >= %{version}
BuildRequires: cmake
BuildRequires: zip
+BuildRequires: pkgconfig(cynara-creds-commons)
BuildRequires: pkgconfig(libsmack)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(dbus-1)