We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07b12dc commit 5253fb9Copy full SHA for 5253fb9
libmatroska2/CMakeLists.txt
@@ -15,9 +15,9 @@ if (CONFIG_ZLIB)
15
16
FetchContent_Declare(
17
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"
+ URL "https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.xz"
+ URL_HASH SHA256=38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32
+ DOWNLOAD_EXTRACT_TIMESTAMP TRUE
21
)
22
23
FetchContent_MakeAvailable(zlib)
0 commit comments