diff --git a/CMakeLists.txt b/CMakeLists.txt
index 24f964788b21e23cbdf67949b561f3a2ca27f49f..1ba559b0a329a6a037fdb2322a43803597d20be4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1645,7 +1645,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")