File: 0001-CMakeLists.txt-Disable-HunterGate-that-needs-interne.patch

package info (click to toggle)
sqlite-modern-cpp 3.2%2Bgit20231203-3~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 348 kB
  • sloc: cpp: 1,593; ansic: 546; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 913 bytes parent folder | download | duplicates (2)
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
From: Boyuan Yang <byang@debian.org>
Date: Wed, 19 Jun 2024 11:30:52 -0400
Subject: CMakeLists.txt: Disable HunterGate that needs internet access

Forwarded: not-needed
---
 CMakeLists.txt | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f18d59b..abab7f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,20 +6,10 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
 set(CMAKE_CXX_STANDARD 17)
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
-set(HUNTER_TLS_VERIFY ON)
-include("cmake/HunterGate.cmake")
 include("cmake/Catch.cmake")
 
-HunterGate(
-    URL "https://github.com/cpp-pm/hunter/archive/v0.24.15.tar.gz"
-    SHA1 "8010d63d5ae611c564889d5fe12d3cb7a45703ac"
-)
-
 project(SqliteModernCpp)
 
-hunter_add_package(Catch)
-hunter_add_package(sqlite3)
-
 find_package(Catch2 CONFIG REQUIRED)
 find_package(sqlite3 CONFIG REQUIRED)