1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:17:45 +00:00

Lagom: Compile LibWebSocket on Lagom

This commit is contained in:
DexesTTP 2022-04-03 18:21:22 +02:00 committed by Linus Groh
parent 3c8411eee4
commit 915ac9edd6

View file

@ -474,6 +474,14 @@ if (BUILD_LAGOM)
SOURCES ${LIBWASM_SOURCES}
)
# WebSocket
file(GLOB LIBWEBSOCKET_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibWebSocket/*.cpp")
file(GLOB LIBWEBSOCKET_SUBDIR_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibWebSocket/*/*.cpp")
lagom_lib(WebSocket websocket
SOURCES ${LIBWEBSOCKET_SOURCES} ${LIBWEBSOCKET_SUBDIR_SOURCES}
LIBS LagomCrypto LagomTLS
)
# x86
# FIXME: Excluding arm64 is a temporary hack to circumvent a build problem
# for Lagom on Apple M1