blob: 34b8ef5c949a5b9bb8f59841f1bdfdd0d3a72611 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From 5577f7da5515fa347ee4ee894ea3c9f610d1e3f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=A4=A9=E5=AE=87?= <1420098499@qq.com>
Date: Sat, 17 Jun 2023 17:41:36 +0800
Subject: [PATCH] update
---
CMakeLists.txt | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6de89d2..44eaeb0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,16 +32,12 @@ endif()
macro(build_mcap_vendor)
include(FetchContent)
fetchcontent_declare(mcap
- URL https://github.com/foxglove/mcap/archive/refs/tags/releases/cpp/v0.8.0.tar.gz
+ URL ${CMAKE_CURRENT_SOURCE_DIR}/v0.8.0.tar.gz
URL_HASH SHA1=b44637791da2c9c1cec61a3ba6994f1ef63a228c # v0.8.0
)
fetchcontent_makeavailable(mcap)
- fetchcontent_declare(lz4
- GIT_REPOSITORY https://github.com/lz4/lz4.git
- GIT_TAG d44371841a2f1728a3f36839fd4b7e872d0927d3 # v1.9.3
- )
- fetchcontent_makeavailable(lz4)
+ set(lz4_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lz4)
file(GLOB _lz4_srcs
${lz4_SOURCE_DIR}/lib/*.c)
--
2.41.0
|