Skip to content

Commit d39f52b

Browse files
authored
rapidxml relocation (alibaba#1036)
1 parent 5925b29 commit d39f52b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ set(PHOTON_E2FS_SOURCE "" CACHE STRING "")
4646
set(PHOTON_GFLAGS_SOURCE "https://github.com/gflags/gflags/archive/refs/tags/v2.2.2.tar.gz" CACHE STRING "")
4747
set(PHOTON_GOOGLETEST_SOURCE "https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz" CACHE STRING "")
4848
set(PHOTON_RAPIDJSON_GIT "https://github.com/Tencent/rapidjson.git" CACHE STRING "")
49-
set(PHOTON_RAPIDXML_SOURCE "https://sourceforge.net/projects/rapidxml/files/rapidxml/rapidxml%201.13/rapidxml-1.13.zip/download" CACHE STRING "")
49+
set(PHOTON_RAPIDXML_SOURCE "https://github.com/photonlibos/rapidxml" CACHE STRING "")
5050
set(PHOTON_RAPIDYAML_SOURCE "https://github.com/biojppm/rapidyaml/releases/download/v0.5.0/rapidyaml-0.5.0.hpp" CACHE STRING "")
5151
set(PHOTON_CPP_REDIS_SOURCE "https://github.com/cpp-redis/cpp_redis/archive/refs/tags/4.3.1.tar.gz" CACHE STRING "")
5252

ecosystem/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ message(STATUS "Rapidjson source dir: ${rapidjson_SOURCE_DIR}")
2626
# RapidXml
2727
FetchContent_Declare(
2828
rapidxml
29-
URL ${PHOTON_RAPIDXML_SOURCE}
30-
URL_HASH
31-
SHA256=c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571
29+
GIT_SUBMODULES ""
30+
GIT_REPOSITORY ${PHOTON_RAPIDXML_SOURCE}
31+
GIT_TAG main
3232
PATCH_COMMAND git apply ${CMAKE_CURRENT_SOURCE_DIR}/patches/rapidxml.patch
3333
UPDATE_DISCONNECTED 1)
3434
FetchContent_MakeAvailable(rapidxml)

0 commit comments

Comments
 (0)