diff --git a/cmake/external_libs/flatbuffers.cmake b/cmake/external_libs/flatbuffers.cmake index 72b68bf6446..21ec12d3c69 100644 --- a/cmake/external_libs/flatbuffers.cmake +++ b/cmake/external_libs/flatbuffers.cmake @@ -12,11 +12,11 @@ if(WIN32) endif() if(ENABLE_GITEE) - set(REQ_URL "https://gitee.com/mirrors/flatbuffers/repository/archive/v1.11.0.tar.gz") - set(MD5 "4051dc865063ffa724c4264dea8dbbe9") + set(REQ_URL "https://gitee.com/mirrors/flatbuffers/repository/archive/v2.0.0.tar.gz") + set(MD5 "4181afaa9c279bd6c690a36bc15a23d2") else() - set(REQ_URL "https://github.com/google/flatbuffers/archive/v1.11.0.tar.gz") - set(MD5 "02c64880acb89dbd57eebacfd67200d8") + set(REQ_URL "https://github.com/google/flatbuffers/archive/v2.0.0.tar.gz") + set(MD5 "a27992324c3cbf86dd888268a23d17bd") endif() if(APPLE)