build: link ixwebsocket
This commit is contained in:
+8
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user