From a29f424250c5c293eba53927c99a6018e9b40103 Mon Sep 17 00:00:00 2001 From: neru Date: Fri, 19 Jun 2026 01:52:28 -0300 Subject: [PATCH] build: link ixwebsocket --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee016a7..d59af9b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,6 +104,13 @@ FetchContent_Declare( ) FetchContent_MakeAvailable(glaze) +set(USE_ZLIB OFF CACHE BOOL "" FORCE) +FetchContent_Declare( + ixwebsocket + GIT_REPOSITORY https://github.com/machinezone/IXWebSocket + GIT_TAG master +) +FetchContent_MakeAvailable(ixwebsocket) # --------------------- # warnings # --------------------- @@ -128,7 +135,7 @@ endif() file(GLOB_RECURSE UNLOCKER_SOURCES CONFIGURE_DEPENDS "src/unlocker/*.cpp" "src/unlocker/*.h") add_executable(hex-unlocked ${UNLOCKER_SOURCES}) -target_link_libraries(hex-unlocked PRIVATE hex-warned seallib glaze::glaze tinymitm wininet) +target_link_libraries(hex-unlocked PRIVATE hex-warned seallib glaze::glaze tinymitm wininet ixwebsocket) # rnd exe name string(RANDOM LENGTH 12 ALPHABET "abcdefghijklmnopqrstuvwxyz0123456789" RANDOM_EXE_NAME)