Feature/no libdeflate (#360)

remove libdeflate code in gzip codec
This commit is contained in:
Benjamin Sergeant
2022-02-10 20:47:32 -08:00
committed by GitHub
parent db7057de69
commit 7711cb1ae7
2 changed files with 0 additions and 71 deletions

View File

@ -244,14 +244,6 @@ if (USE_ZLIB)
target_compile_definitions(ixwebsocket PUBLIC IXWEBSOCKET_USE_ZLIB)
endif()
# brew install libdeflate
find_package(Deflate)
if (DEFLATE_FOUND)
include_directories(${DEFLATE_INCLUDE_DIRS})
target_link_libraries(ixwebsocket PRIVATE ${DEFLATE_LIBRARIES})
target_compile_definitions(ixwebsocket PUBLIC IXWEBSOCKET_USE_DEFLATE)
endif()
if (WIN32)
target_link_libraries(ixwebsocket PRIVATE wsock32 ws2_32 shlwapi)
target_compile_definitions(ixwebsocket PRIVATE _CRT_SECURE_NO_WARNINGS)