mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cmake: Link with cap if it's found and used
This commit is contained in:
parent
dba03e4037
commit
355be53fa6
1 changed files with 5 additions and 0 deletions
|
@ -799,6 +799,11 @@ if (LWS_WITH_HUBBUB)
|
|||
list(APPEND LIB_LIST ${LIBHUBBUB_LIBRARIES} )
|
||||
endif()
|
||||
|
||||
if (LWS_HAVE_LIBCAP)
|
||||
find_library(LIBCAP_LIBRARIES NAMES cap)
|
||||
list(APPEND LIB_LIST ${LIBCAP_LIBRARIES} )
|
||||
endif()
|
||||
|
||||
|
||||
#
|
||||
# Append the "at end" pieces to the lib list
|
||||
|
|
Loading…
Add table
Reference in a new issue