From ffdd5b7773eeb8e3745cb050e31c9106be77adc0 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Mon, 8 Mar 2021 11:25:08 +0800 Subject: [PATCH] Fix cmake of cryptopp to avoid downloading every time (#31447) --- cmake/external/cryptopp.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external/cryptopp.cmake b/cmake/external/cryptopp.cmake index caabe8efac..a30164ada2 100644 --- a/cmake/external/cryptopp.cmake +++ b/cmake/external/cryptopp.cmake @@ -60,6 +60,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