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
Notes: sideshowbarker 2024-07-17 10:34:54 +09:00

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