Browse Source

Pre Merge pull request !282 from 李磊/master

pull/282/MERGE
李磊 Gitee 4 years ago
parent
commit
f73ca48b26
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      cmake/external_libs/json.cmake

+ 4
- 4
cmake/external_libs/json.cmake View File

@@ -7,15 +7,15 @@ include(ExternalProject)
set(JSON_SRC_DIR ${CMAKE_BINARY_DIR}/opensrc/json/include)
if (PARSER_PB_PKG)
set(REQ_URL "${PARSER_PB_PKG}/libs/ge_nlohmann_json/include.zip")
set(MD5 "0dc903888211db3a0f170304cd9f3a89")
set(MD5 "fb96f95cdf609143e998db401ca4f324")
set(JSON_INCLUDE_DIR ${JSON_SRC_DIR})
#if (ENABLE_GITEE)
# set(REQ_URL "https://gitee.com/mirrors/JSON-for-Modern-CPP/repository/archive/v3.6.1.zip")
# set(MD5 "5bda78ce308e6cfcf614dcf1d5ff27a7")
# set(JSON_INCLUDE_DIR "${JSON_SRC_DIR}/include")
else()
set(REQ_URL "https://github.com/nlohmann/json/releases/download/v3.6.1/include.zip")
set(MD5 "0dc903888211db3a0f170304cd9f3a89")
set(REQ_URL "https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip")
set(MD5 "fb96f95cdf609143e998db401ca4f324")
set(JSON_INCLUDE_DIR ${JSON_SRC_DIR})
endif ()
ExternalProject_Add(json_build
@@ -25,7 +25,7 @@ ExternalProject_Add(json_build
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
EXCLUDE_FROM_ALL TRUE
EXCLUDE_FROM_ALL TRUE
)




Loading…
Cancel
Save