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

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