Skip to content

Commit d2a18a7

Browse files
committed
cmake: include zstd before curl
for some reason, even before this change, the build worked on my system, both with clean and unclean builds. I don't understand cmake. Hopefully this fixes the CI builds.
1 parent df6b720 commit d2a18a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,11 @@ include(GetZLIB)
275275
get_zlib(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
276276
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/zlib/dummy")
277277

278+
# zstd
279+
include(GetZstd)
280+
get_zstd(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
281+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/zstd/dummy")
282+
278283
# cURL
279284
include(GetLibCURL)
280285
get_curl(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})

0 commit comments

Comments
 (0)