]> code.ossystems Code Review - openembedded-core.git/blob
f7d7ab3a2a18188951da8f17eb224477d608af63
[openembedded-core.git] /
1 From a36be8192615e2a1fb5a5856d44565277f15583b 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 4/4] Set gpgme variables with pkg-config, not with cmake
5  module (which doesn't work properly)
6
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>
9 ---
10  CMakeLists.txt | 3 ++-
11  1 file changed, 2 insertions(+), 1 deletion(-)
12
13 diff --git a/CMakeLists.txt b/CMakeLists.txt
14 index ef07d2d..f1fa09b 100644
15 --- a/CMakeLists.txt
16 +++ b/CMakeLists.txt
17 @@ -31,7 +31,8 @@ PKG_CHECK_MODULES(GLIB2 glib-2.0 REQUIRED)
18  PKG_SEARCH_MODULE(LIBCRYPTO REQUIRED libcrypto openssl)
19  FIND_PACKAGE(EXPAT REQUIRED)
20  FIND_PACKAGE(CURL REQUIRED)
21 -FIND_PACKAGE(Gpgme REQUIRED)
22 +PKG_CHECK_MODULES(GPGME gpgme REQUIRED)
23 +set(GPGME_VANILLA_LIBRARIES ${GPGME_LIBRARIES})
24  FIND_PACKAGE(Xattr REQUIRED)
25  
26  INCLUDE_DIRECTORIES(${GLIB2_INCLUDE_DIRS})
27 -- 
28 2.11.0
29