From c956c035dc9dd3587882b53f65c374cdce1edeb2 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Mon, 8 Mar 2021 11:27:45 +0800 Subject: [PATCH] fix cmake of cryptopp to avoid downloading every time (#31451) --- cmake/external/cryptopp.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external/cryptopp.cmake b/cmake/external/cryptopp.cmake index 3176e2a665..7a4f66b01c 100644 --- a/cmake/external/cryptopp.cmake +++ b/cmake/external/cryptopp.cmake @@ -53,6 +53,7 @@ ExternalProject_Add( "${CRYPTOPP_DOWNLOAD_CMD}" PREFIX ${CRYPTOPP_PREFIX_DIR} SOURCE_DIR ${CRYPTOPP_SOURCE_DIR} + UPDATE_COMMAND "" PATCH_COMMAND COMMAND ${CMAKE_COMMAND} -E remove_directory "/cmake/" COMMAND git clone ${GIT_URL}/noloader/cryptopp-cmake "/cmake" -- GitLab