hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
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
From 8d99edeefb23c9d7574a0b5a0e2e3f41b0433490 Mon Sep 17 00:00:00 2001
From: Yi Zhao <yi.zhao@windriver.com>
Date: Thu, 10 Sep 2020 16:14:10 +0800
Subject: [PATCH] CMakeLists.txt: use curl local source tarball
 
Do not download curl source during compile.
 
Upstream-Status: Inappropriate [embedded specific]
 
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 CMakeLists.txt | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7cd550fb..215a4ef4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -314,11 +314,7 @@ endif()
 
   ExternalProject_Add(
     curl-external
-    GIT_REPOSITORY "https://github.com/curl/curl.git"
-    GIT_TAG "f3294d9d86e6a7915a967efff2842089b8b0d071"  # Version 7.64.0
-    SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/thirdparty/curl-src"
-    LIST_SEPARATOR % # This is needed for passing semicolon-separated lists
-    TLS_VERIFY OFF
+    SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/curl-7.64.0"
     CMAKE_ARGS ${PASSTHROUGH_CMAKE_ARGS}
                "-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/thirdparty/curl-install"
                "-DCMAKE_INSTALL_LIBDIR=lib${LIBSUFFIX}"
-- 
2.17.1