Blame SOURCES/lshw-B.02.19.2-Add-the-FindPkgConfig-to-CMakeLists.patch

e6b9b5
From 5c3b96616ecec2345c6b785352192c033738f2e1 Mon Sep 17 00:00:00 2001
e6b9b5
From: Lianbo Jiang <lijiang@redhat.com>
e6b9b5
Date: Thu, 25 Apr 2019 12:37:38 +0800
e6b9b5
Subject: [PATCH] Add the "FindPkgConfig" to CMakeLists.txt.
e6b9b5
e6b9b5
Include the "FindPkgConfig" in order to fix "Unknown CMake command
e6b9b5
pkg_check_modules"
e6b9b5
e6b9b5
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
e6b9b5
---
e6b9b5
 CMakeLists.txt | 2 ++
e6b9b5
 1 file changed, 2 insertions(+)
e6b9b5
e6b9b5
diff --git a/CMakeLists.txt b/CMakeLists.txt
e6b9b5
index 6c69c37336c8..688863130291 100644
e6b9b5
--- a/CMakeLists.txt
e6b9b5
+++ b/CMakeLists.txt
e6b9b5
@@ -1,5 +1,7 @@
e6b9b5
 cmake_minimum_required(VERSION 3.0)
e6b9b5
 
e6b9b5
+include(FindPkgConfig)
e6b9b5
+
e6b9b5
 project(lshw)
e67e1d
 set(VERSION "B.02.19.2")
e6b9b5
 
e6b9b5
-- 
e6b9b5
2.17.1
e6b9b5