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

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