Skip to content

Commit 174b66b

Browse files
authored
Merge pull request #3 from ned14/hunter-7.74.0
Build and packaging fixes for curl 7.74 merge.
2 parents a72789d + ce77c2a commit 174b66b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CMake/Config.cmake.in

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if("@ENABLE_ARES@")
44
find_package(c-ares CONFIG REQUIRED)
55
endif()
66

7-
if(@HAVE_ZLIB@)
7+
if(@HAVE_LIBZ@)
88
find_package(ZLIB CONFIG REQUIRED)
99
endif()
1010
if(@HAVE_ZSTD@)
@@ -21,7 +21,5 @@ if(@HAVE_LIBCRYPTO@)
2121
endif()
2222
endif()
2323

24-
find_package(intsizeof CONFIG REQUIRED)
25-
2624
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
2725
check_required_components("@PROJECT_NAME@")

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ set(HAVE_ZSTD OFF)
723723
if(CURL_ZSTD)
724724
hunter_add_package(zstd)
725725
find_package(zstd CONFIG REQUIRED)
726-
if(ZLIB_FOUND)
726+
if(ZSTD_FOUND)
727727
set(HAVE_ZSTD ON)
728728
if(HUNTER_ENABLED)
729729
list(APPEND CURL_LIBS zstd::libzstd_static)

0 commit comments

Comments
 (0)