1
0
Fork 0
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:
Laszlo Boszormenyi (GCS) 2020-07-19 16:29:07 +02:00 committed by Andy Green
parent dba03e4037
commit 355be53fa6

View file

@ -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