diff --git a/CMakeLists.txt b/CMakeLists.txt index 68a6a78c7ba65097c51c0206491be5baf06189f6..4c5664b679647b3658fc33569b6852e9741f6819 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1723,7 +1723,7 @@ message("---------------------------------------------------------------------") # These will be available to parent projects including libwebsockets using add_subdirectory() set(LIBWEBSOCKETS_LIBRARIES ${LWS_LIBRARIES} CACHE STRING "Libwebsocket libraries") if (LWS_WITH_STATIC) - set(LIBWEBSOCKETS_LIBRARIES_STATIC websocket CACHE STRING "Libwebsocket static library") + set(LIBWEBSOCKETS_LIBRARIES_STATIC websockets CACHE STRING "Libwebsocket static library") endif() if (LWS_WITH_SHARED) set(LIBWEBSOCKETS_LIBRARIES_SHARED websockets_shared CACHE STRING "Libwebsocket shared library")