File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ set(PHOTON_E2FS_SOURCE "" CACHE STRING "")
4646set (PHOTON_GFLAGS_SOURCE "https://github.com/gflags/gflags/archive/refs/tags/v2.2.2.tar.gz" CACHE STRING "" )
4747set (PHOTON_GOOGLETEST_SOURCE "https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz" CACHE STRING "" )
4848set (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 "" )
5050set (PHOTON_RAPIDYAML_SOURCE "https://github.com/biojppm/rapidyaml/releases/download/v0.5.0/rapidyaml-0.5.0.hpp" CACHE STRING "" )
5151set (PHOTON_CPP_REDIS_SOURCE "https://github.com/cpp-redis/cpp_redis/archive/refs/tags/4.3.1.tar.gz" CACHE STRING "" )
5252
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ message(STATUS "Rapidjson source dir: ${rapidjson_SOURCE_DIR}")
2626# RapidXml
2727FetchContent_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)
3434FetchContent_MakeAvailable (rapidxml)
You can’t perform that action at this time.
0 commit comments