1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

cmake: fix detection of libwebsockets

This commit is contained in:
Steffen Vogel 2018-07-04 15:09:08 +02:00
parent 5bb7404cd8
commit d9e041a525

View file

@ -99,8 +99,8 @@ if(CURL_FOUND)
endif()
# Enable WebSocket support
if(LIBWEBSOCKETS_FOUND AND WITH_WEB AND WITH_IO)
list(APPEND NODE_SRC websockets.c)
if(Libwebsockets_FOUND AND WITH_WEB AND WITH_IO)
list(APPEND NODE_SRC websocket.c)
list(APPEND INCLUDE_DIRS ${LIBWEBSOCKETS_INCLUDE_DIRS})
list(APPEND LIBRARIES websockets_shared)
endif()