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 include dir for websockets

This commit is contained in:
Steffen Vogel 2019-06-26 23:32:19 +02:00
parent 93ce39b303
commit 86aaaa9a20

View file

@ -67,6 +67,15 @@ set(LIB_SRC
format_type.cpp
)
if(WITH_WEB)
list(APPEND LIB_SRC
web.cpp
)
list(APPEND INCLUDE_DIRS ${LIBWEBSOCKETS_INCLUDE_DIRS})
list(APPEND LIBRARIES PkgConfig::LIBWEBSOCKETS)
endif()
if(WITH_NODE_INFINIBAND)
list(APPEND LIB_SRC memory/ib.cpp)
endif()
@ -92,15 +101,6 @@ if(WITH_HOOKS)
list(APPEND WHOLE_ARCHIVES hooks)
endif()
if(WITH_WEB)
list(APPEND LIB_SRC
web.cpp
)
list(APPEND INCLUDE_DIRS ${LIBWEBSOCKETS_INCLUDE_DIRS})
list(APPEND LIBRARIES PkgConfig::LIBWEBSOCKETS)
endif()
if(WITH_API)
list(APPEND LIB_SRC
api.cpp