From dcef19e4e0a1185e5b88fc039fde7f1f4d9c03c0 Mon Sep 17 00:00:00 2001
From: leeffo <liweiganga@uniontech.com>
Date: Mon, 24 Jul 2023 18:15:15 +0800
Subject: [PATCH 1/2] procps-ng update 4.0.0

---
 deepin-system-monitor-main/CMakeLists.txt         | 2 +-
 deepin-system-monitor-plugin-popup/CMakeLists.txt | 2 +-
 tests/CMakeLists.txt                              | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/deepin-system-monitor-main/CMakeLists.txt b/deepin-system-monitor-main/CMakeLists.txt
index 07d25ec..035dad5 100644
--- a/deepin-system-monitor-main/CMakeLists.txt
+++ b/deepin-system-monitor-main/CMakeLists.txt
@@ -52,7 +52,7 @@ find_package(DtkCore REQUIRED)
 find_package(DtkGui REQUIRED)
 find_package(DtkWidget REQUIRED)
 find_library(LIB_PCAP NAMES pcap REQUIRED)
-find_library(LIB_PROCPS NAMES procps REQUIRED)
+find_library(LIB_PROCPS NAMES proc2 REQUIRED)
 find_library(LIB_XCB NAMES xcb REQUIRED)
 find_library(LIB_XEXT NAMES Xext REQUIRED)
 find_library(LIB_ICCCM NAMES xcb-icccm REQUIRED)
diff --git a/deepin-system-monitor-plugin-popup/CMakeLists.txt b/deepin-system-monitor-plugin-popup/CMakeLists.txt
index 45d29e8..c430c98 100644
--- a/deepin-system-monitor-plugin-popup/CMakeLists.txt
+++ b/deepin-system-monitor-plugin-popup/CMakeLists.txt
@@ -43,7 +43,7 @@ find_package(DtkCore REQUIRED)
 find_package(DtkGui REQUIRED)
 find_package(DtkWidget REQUIRED)
 find_package(Qt5Svg REQUIRED)
-find_library(LIB_PROPS NAMES procps REQUIRED)
+find_library(LIB_PROPS NAMES proc2 REQUIRED)
 find_library(LIB_XCB NAMES xcb REQUIRED)
 find_library(LIB_XEXT NAMES Xext REQUIRED)
 find_library(LIB_ICCCM NAMES xcb-icccm REQUIRED)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 9469596..fc92bf3 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -70,7 +70,7 @@ find_package(DtkCore REQUIRED)
 find_package(DtkGui REQUIRED)
 find_package(DtkWidget REQUIRED)
 find_library(LIB_PCAP NAMES pcap REQUIRED)
-find_library(LIB_PROCPS NAMES procps REQUIRED)
+find_library(LIB_PROCPS NAMES proc2 REQUIRED)
 find_library(LIB_XCB NAMES xcb REQUIRED)
 find_library(LIB_XEXT NAMES Xext REQUIRED)
 find_library(LIB_ICCCM NAMES xcb-icccm REQUIRED)
-- 
2.20.1

