diff --git a/CMakeLists.txt b/CMakeLists.txt index 365421ea..32bf5fef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -285,6 +285,8 @@ target_include_directories(ixwebsocket PUBLIC set_target_properties(ixwebsocket PROPERTIES PUBLIC_HEADER "${IXWEBSOCKET_HEADERS}") +add_library(ixwebsocket::ixwebsocket ALIAS ixwebsocket) + option(IXWEBSOCKET_INSTALL "Install IXWebSocket" TRUE) if (IXWEBSOCKET_INSTALL)