diff options
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch')
-rw-r--r-- | meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch index 80b1ed7bf1..475c8f120b 100644 --- a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch +++ b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 2bcd0b9f6310bacdc554e077e85319a5e90e5ce0 Mon Sep 17 00:00:00 2001 | 1 | From 18c2c06017784cd641cc8a3deee5fc472008f7f4 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 30 Dec 2016 18:24:50 +0200 | 3 | Date: Fri, 30 Dec 2016 18:24:50 +0200 |
4 | Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module | 4 | Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module |
@@ -13,16 +13,16 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | 13 | 1 file changed, 2 insertions(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 15 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
16 | index 0b405cb..cd91f08 100644 | 16 | index 16b63308..b722d4fb 100644 |
17 | --- a/CMakeLists.txt | 17 | --- a/CMakeLists.txt |
18 | +++ b/CMakeLists.txt | 18 | +++ b/CMakeLists.txt |
19 | @@ -46,7 +46,8 @@ endif(APPLE) | 19 | @@ -45,7 +45,8 @@ endif() |
20 | PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.46.0 REQUIRED) | 20 | |
21 | pkg_check_modules(SMARTCOLS REQUIRED smartcols) | 21 | # build dependencies |
22 | FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb) | 22 | find_package(Gpgme REQUIRED) |
23 | -find_package (LibSolv 0.6.30 REQUIRED COMPONENTS ext) | 23 | -find_package(LibSolv 0.6.30 REQUIRED COMPONENTS ext) |
24 | +PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv) | 24 | +PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv) |
25 | +set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES}) | 25 | +set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES}) |
26 | if (ENABLE_RHSM_SUPPORT) | 26 | find_package(OpenSSL REQUIRED) |
27 | pkg_check_modules (RHSM REQUIRED librhsm>=0.0.3) | 27 | |
28 | include_directories (${RHSM_INCLUDE_DIRS}) | 28 | |