mirror of
https://git.yoctoproject.org/poky
synced 2026-02-28 12:29:40 +01:00
(From OE-Core rev: 2e29ab2665167dc25d3ed9b10c341cd06bce87c7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
838 B
Diff
28 lines
838 B
Diff
From a921a92f334a2a30741b906c206e041cef2d904d Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Fri, 30 Dec 2016 18:24:50 +0200
|
|
Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module
|
|
|
|
doesn't work properly).
|
|
|
|
Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
---
|
|
CMakeLists.txt | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index c6bd46a6..a6f14318 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -51,7 +51,8 @@ endif()
|
|
|
|
|
|
# build dependencies
|
|
-find_package(LibSolv 0.7.21 REQUIRED COMPONENTS ext)
|
|
+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
|
|
+set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
|
|
|
|
|
|
# build dependencies via pkg-config
|