--- src/CMakeLists.txt.orig	2024-12-18 09:43:22.511844000 +0200
+++ src/CMakeLists.txt	2024-12-18 09:45:34.368783000 +0200
@@ -194,7 +194,7 @@
 
 if (WITH_WEBSOCKETS)
 	if (STATIC_WEBSOCKETS)
-		set (MOSQ_LIBS ${MOSQ_LIBS} websockets_static)
+		set (MOSQ_LIBS ${MOSQ_LIBS} websockets)
 		if (WIN32)
 			set (MOSQ_LIBS ${MOSQ_LIBS} iphlpapi)
 			link_directories(${mosquitto_SOURCE_DIR})
