summarylogtreecommitdiffstats
path: root/0003-cmake-Use-system-argparse.patch
blob: d725994bede457188a81f887bde87f5c7f21ab9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From 45c9cf9422dc37d21c5d158f90f427787c87da77 Mon Sep 17 00:00:00 2001
From: Zhang Hua <zhanghua.00@qq.com>
Date: Wed, 15 Jul 2026 08:40:20 +0800
Subject: [PATCH 3/6] cmake: Use system argparse

---
 CMakeLists.txt |  1 +
 deps.json      | 11 -----------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a6ac663..5e98f9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,6 +36,7 @@ endif()
 find_package(PkgConfig REQUIRED)
 find_package(Threads REQUIRED)
 find_package(Eigen3 3.4.0 REQUIRED)
+find_package(argparse REQUIRED)
 
 
 set(OWE_CXX_COMPILE_OPTIONS
diff --git a/deps.json b/deps.json
index 79494a5..7a6582a 100644
--- a/deps.json
+++ b/deps.json
@@ -21,17 +21,6 @@
       "exclude_from_all": true
     }
   },
-  {
-    "dest": "build/_flatpak_deps/argparse-src",
-    "disable-shallow-clone": true,
-    "commit": "d924b84eba1f0f0adf38b20b7b4829f6f65b6570",
-    "type": "git",
-    "url": "https://github.com/p-ranav/argparse.git",
-    "x-cmake": {
-      "name": "argparse",
-      "exclude_from_all": true
-    }
-  },
   {
     "dest": "build/_flatpak_deps/rstd-src",
     "disable-shallow-clone": true,
-- 
2.55.0