Skip to content

Commit

Permalink
Merge pull request #3 from ned14/hunter-7.74.0
Browse files Browse the repository at this point in the history
Build and packaging fixes for curl 7.74 merge.
  • Loading branch information
rbsheth authored Mar 16, 2021
2 parents a72789d + ce77c2a commit 174b66b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions CMake/Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if("@ENABLE_ARES@")
find_package(c-ares CONFIG REQUIRED)
endif()

if(@HAVE_ZLIB@)
if(@HAVE_LIBZ@)
find_package(ZLIB CONFIG REQUIRED)
endif()
if(@HAVE_ZSTD@)
Expand All @@ -21,7 +21,5 @@ if(@HAVE_LIBCRYPTO@)
endif()
endif()

find_package(intsizeof CONFIG REQUIRED)

include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
check_required_components("@PROJECT_NAME@")
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ set(HAVE_ZSTD OFF)
if(CURL_ZSTD)
hunter_add_package(zstd)
find_package(zstd CONFIG REQUIRED)
if(ZLIB_FOUND)
if(ZSTD_FOUND)
set(HAVE_ZSTD ON)
if(HUNTER_ENABLED)
list(APPEND CURL_LIBS zstd::libzstd_static)
Expand Down

0 comments on commit 174b66b

Please sign in to comment.