diff --git a/cmake/braft.cmake b/cmake/braft.cmake index 853266f52..ffb421901 100644 --- a/cmake/braft.cmake +++ b/cmake/braft.cmake @@ -16,8 +16,8 @@ ExternalProject_Add( extern_braft ${EXTERNAL_PROJECT_LOG_ARGS} DEPENDS brpc - GIT_REPOSITORY https://github.com/baidu/braft.git - GIT_TAG master + URL "https://github.com/baidu/braft/archive/v1.1.2.tar.gz" + URL_HASH SHA256=bb3705f61874f8488e616ae38464efdec1a20610ddd6cd82468adc814488f14e PREFIX ${BRAFT_SOURCES_DIR} UPDATE_COMMAND "" CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}