Add an alias for ixwebsocket (#348)

This commit is contained in:
flagarde 2022-01-17 09:36:38 +08:00 committed by GitHub
parent b5cf33a582
commit a951bc9cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,6 +285,8 @@ target_include_directories(ixwebsocket PUBLIC
set_target_properties(ixwebsocket PROPERTIES PUBLIC_HEADER "${IXWEBSOCKET_HEADERS}") set_target_properties(ixwebsocket PROPERTIES PUBLIC_HEADER "${IXWEBSOCKET_HEADERS}")
add_library(ixwebsocket::ixwebsocket ALIAS ixwebsocket)
option(IXWEBSOCKET_INSTALL "Install IXWebSocket" TRUE) option(IXWEBSOCKET_INSTALL "Install IXWebSocket" TRUE)
if (IXWEBSOCKET_INSTALL) if (IXWEBSOCKET_INSTALL)