1 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2 index 26e3cfe..74d00dd 100644
3 --- a/src/CMakeLists.txt
4 +++ b/src/CMakeLists.txt
5 @@ -61,6 +61,8 @@ if(MSVC)
6 list(APPEND CURL_FILES curl.rc)
9 +find_package(ZLIB REQUIRED)
11 # CURL_FILES comes from Makefile.inc
14 @@ -91,7 +93,7 @@ include_directories(
17 #Build curl executable
18 -target_link_libraries(${EXE_NAME} libcurl ${CURL_LIBS})
19 +target_link_libraries(${EXE_NAME} libcurl ${CURL_LIBS} ZLIB::ZLIB)
21 ################################################################################