1 From b5918f06d790dc346d41de4b3a3ec01f290c1d25 Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Fri, 30 Dec 2016 18:23:27 +0200
4 Subject: [PATCH] Set gpgme variables with pkg-config, not with cmake module
5 (which doesn't work properly)
7 Upstream-Status: Inappropriate [gpgme upstream does not have pkg-config support and is not interested in it]
8 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10 CMakeLists.txt | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
13 diff --git a/CMakeLists.txt b/CMakeLists.txt
14 index 6c00024..a2f57af 100644
17 @@ -37,7 +37,8 @@ PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED)
18 FIND_PACKAGE(CURL 7.52.0 REQUIRED)
21 - FIND_PACKAGE(Gpgme REQUIRED)
22 + PKG_CHECK_MODULES(GPGME gpgme REQUIRED)
23 + set(GPGME_VANILLA_LIBRARIES ${GPGME_LIBRARIES})
25 PKG_CHECK_MODULES(SELINUX REQUIRED libselinux)