blob: 246db34154a252c145f1b05b843824d7337b5c8e [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From c139a6c929cff93dbb9b8279e97263fc9e055727 Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 7 Feb 2017 12:16:03 +0200
Brad Bishop19323692019-04-05 15:28:33 -04004Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is
Brad Bishop316dfdd2018-06-25 12:45:53 -04005
Brad Bishop6e60e8b2018-02-01 10:27:11 -05006 using both)
7
Brad Bishopd7bf8c12018-02-25 22:55:05 -05008Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011---
12 CMakeLists.txt | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/CMakeLists.txt b/CMakeLists.txt
Brad Bishop19323692019-04-05 15:28:33 -040016index cd91f08..6422534 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017--- a/CMakeLists.txt
18+++ b/CMakeLists.txt
Brad Bishop19323692019-04-05 15:28:33 -040019@@ -46,7 +46,7 @@ endif(APPLE)
Brad Bishop316dfdd2018-06-25 12:45:53 -040020 PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.46.0 REQUIRED)
Brad Bishop19323692019-04-05 15:28:33 -040021 pkg_check_modules(SMARTCOLS REQUIRED smartcols)
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022 FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb)
23-PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
24+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv libsolvext)
25 set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
Brad Bishopd7bf8c12018-02-25 22:55:05 -050026 if (ENABLE_RHSM_SUPPORT)
Brad Bishop19323692019-04-05 15:28:33 -040027 pkg_check_modules (RHSM REQUIRED librhsm>=0.0.3)