Feature/no libdeflate (#360)

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

No files matched your search

-8
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)