Skip to content

Commit 5253fb9

Browse files
committed
libmatroska2: use regular zlib tarball if not found
1 parent 07b12dc commit 5253fb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libmatroska2/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ if (CONFIG_ZLIB)
1515

1616
FetchContent_Declare(
1717
zlib
18-
GIT_REPOSITORY https://github.com/madler/zlib.git
19-
GIT_TAG 51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf # 1.3.1 tag
20-
PATCH_COMMAND git apply "${CMAKE_CURRENT_SOURCE_DIR}/zlib/0001-CMake-don-t-build-dynamic-zlib.patch"
18+
URL "https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.xz"
19+
URL_HASH SHA256=38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32
20+
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
2121
)
2222

2323
FetchContent_MakeAvailable(zlib)

0 commit comments

Comments
 (0)