mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 18:09:07 +08:00
f12d986e6a
* [curl] Update to 7.71.0 * Update to 7.71.1
23 lines
610 B
Diff
23 lines
610 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 26e3cfe..74d00dd 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -61,6 +61,8 @@ if(MSVC)
|
|
list(APPEND CURL_FILES curl.rc)
|
|
endif()
|
|
|
|
+find_package(ZLIB REQUIRED)
|
|
+
|
|
# CURL_FILES comes from Makefile.inc
|
|
add_executable(
|
|
${EXE_NAME}
|
|
@@ -91,7 +93,7 @@ include_directories(
|
|
)
|
|
|
|
#Build curl executable
|
|
-target_link_libraries(${EXE_NAME} libcurl ${CURL_LIBS})
|
|
+target_link_libraries(${EXE_NAME} libcurl ${CURL_LIBS} ZLIB::ZLIB)
|
|
|
|
################################################################################
|
|
|