Skip to content

Commit fa24693

Browse files
authored
Only disable uws zlib on windows (#141)
1 parent 260f5e5 commit fa24693

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ add_subdirectory(extern/curl)
6363
# uWebSockets setup
6464
set(WITH_WOLFSSL ON)
6565
set(WITH_LIBUV ON)
66-
set(WITH_ZLIB OFF)
66+
if(MSVC)
67+
set(WITH_ZLIB OFF)
68+
endif()
6769

6870
# Set the correct libuv library name for uWebSockets
6971
set(LIBUV_LIBRARY uv_a)

0 commit comments

Comments
 (0)