diff --git a/CMakeLists.txt b/CMakeLists.txt index 7552d5b4..522c2883 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,6 +199,7 @@ if (USE_TLS) endif() endif() +# Use ZLIB_ROOT CMake variable if you need to use your own zlib find_package(ZLIB REQUIRED) include_directories(${ZLIB_INCLUDE_DIRS}) target_link_libraries(ixwebsocket ${ZLIB_LIBRARIES})