1From 8d99edeefb23c9d7574a0b5a0e2e3f41b0433490 Mon Sep 17 00:00:00 2001 2From: Yi Zhao <yi.zhao@windriver.com> 3Date: Thu, 10 Sep 2020 16:14:10 +0800 4Subject: [PATCH] CMakeLists.txt: use curl local source tarball 5 6Do not download curl source during compile. 7 8Upstream-Status: Inappropriate [embedded specific] 9 10Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 11--- 12 CMakeLists.txt | 6 +----- 13 1 file changed, 1 insertion(+), 5 deletions(-) 14 15diff --git a/CMakeLists.txt b/CMakeLists.txt 16index 7cd550fb..215a4ef4 100644 17--- a/CMakeLists.txt 18+++ b/CMakeLists.txt 19@@ -314,11 +314,7 @@ endif() 20 21 ExternalProject_Add( 22 curl-external 23- GIT_REPOSITORY "https://github.com/curl/curl.git" 24- GIT_TAG "f3294d9d86e6a7915a967efff2842089b8b0d071" # Version 7.64.0 25- SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/thirdparty/curl-src" 26- LIST_SEPARATOR % # This is needed for passing semicolon-separated lists 27- TLS_VERIFY OFF 28+ SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/curl-7.64.0" 29 CMAKE_ARGS ${PASSTHROUGH_CMAKE_ARGS} 30 "-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/thirdparty/curl-install" 31 "-DCMAKE_INSTALL_LIBDIR=lib${LIBSUFFIX}" 32-- 332.17.1 34 35