build: link ixwebsocket

This commit is contained in:
2026-06-19 01:52:28 -03:00
parent 2c23b25a1d
commit a29f424250
+8 -1
View File
@@ -104,6 +104,13 @@ FetchContent_Declare(
) )
FetchContent_MakeAvailable(glaze) 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 # warnings
# --------------------- # ---------------------
@@ -128,7 +135,7 @@ endif()
file(GLOB_RECURSE UNLOCKER_SOURCES CONFIGURE_DEPENDS "src/unlocker/*.cpp" "src/unlocker/*.h") file(GLOB_RECURSE UNLOCKER_SOURCES CONFIGURE_DEPENDS "src/unlocker/*.cpp" "src/unlocker/*.h")
add_executable(hex-unlocked ${UNLOCKER_SOURCES}) 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 # rnd exe name
string(RANDOM LENGTH 12 ALPHABET "abcdefghijklmnopqrstuvwxyz0123456789" RANDOM_EXE_NAME) string(RANDOM LENGTH 12 ALPHABET "abcdefghijklmnopqrstuvwxyz0123456789" RANDOM_EXE_NAME)