blob: 183a006e815e2c08873ee49af43a766599e8af94 [file] [log] [blame]
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