Bear/0001-change-external-project-to-local-package.patch
2022-11-30 11:58:18 +08:00

77 lines
2.7 KiB
Diff

diff --git a/third_party/fmt/CMakeLists.txt b/third_party/fmt/CMakeLists.txt
index cc6bae4..c26a7ec 100644
--- a/third_party/fmt/CMakeLists.txt
+++ b/third_party/fmt/CMakeLists.txt
@@ -10,13 +10,9 @@ else ()
include(ExternalProject)
ExternalProject_Add(fmt_dependency
URL
- https://github.com/fmtlib/fmt/archive/9.0.0.tar.gz
+ ${DEPEND_PATH}/fmt-9.0.0.tar.gz
URL_HASH
MD5=d56c8b0612b049bb1854f07c8b133f3c
- DOWNLOAD_NO_PROGRESS
- 1
- UPDATE_COMMAND
- ""
LOG_CONFIGURE
1
LOG_BUILD
diff --git a/third_party/googletest/CMakeLists.txt b/third_party/googletest/CMakeLists.txt
index 42dbf27..322b37d 100644
--- a/third_party/googletest/CMakeLists.txt
+++ b/third_party/googletest/CMakeLists.txt
@@ -12,13 +12,9 @@ else ()
include(ExternalProject)
ExternalProject_Add(googletest_dependency
URL
- https://github.com/google/googletest/archive/release-1.12.1.tar.gz
+ ${DEPEND_PATH}/googletest-release-1.12.1.tar.gz
URL_HASH
MD5=e82199374acdfda3f425331028eb4e2a
- DOWNLOAD_NO_PROGRESS
- 1
- UPDATE_COMMAND
- ""
LOG_CONFIGURE
1
LOG_BUILD
diff --git a/third_party/nlohmann_json/CMakeLists.txt b/third_party/nlohmann_json/CMakeLists.txt
index c4ec891..7e57f1d 100644
--- a/third_party/nlohmann_json/CMakeLists.txt
+++ b/third_party/nlohmann_json/CMakeLists.txt
@@ -9,13 +9,9 @@ else ()
include(ExternalProject)
ExternalProject_Add(nlohmann_json_dependency
URL
- https://github.com/nlohmann/json/archive/v3.10.5.tar.gz
+ ${DEPEND_PATH}/json-3.10.5.tar.gz
URL_HASH
MD5=5b946f7d892fa55eabec45e76a20286b
- DOWNLOAD_NO_PROGRESS
- 1
- UPDATE_COMMAND
- ""
LOG_CONFIGURE
1
LOG_BUILD
diff --git a/third_party/spdlog/CMakeLists.txt b/third_party/spdlog/CMakeLists.txt
index 2d8a5da..cefba1d 100644
--- a/third_party/spdlog/CMakeLists.txt
+++ b/third_party/spdlog/CMakeLists.txt
@@ -10,13 +10,9 @@ else ()
include(ExternalProject)
ExternalProject_Add(spdlog_dependency
URL
- https://github.com/gabime/spdlog/archive/v1.10.0.tar.gz
+ ${DEPEND_PATH}/spdlog-1.10.0.tar.gz
URL_HASH
MD5=effea813cd81cfb5588806c5754e14f1
- DOWNLOAD_NO_PROGRESS
- 1
- UPDATE_COMMAND
- ""
LOG_CONFIGURE
1
LOG_BUILD