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:
parent
93ce39b303
commit
86aaaa9a20
1 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue