Skip to content

Commit 2bb4e0b

Browse files
committed
Fix compile error when using STATIC_WEBSOCKETS on cmake
Closes eclipse-mosquitto#3452. Thanks to yuyiming-visn
1 parent 85fdde9 commit 2bb4e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ endif (WIN32)
222222

223223
if (WITH_WEBSOCKETS)
224224
if (STATIC_WEBSOCKETS)
225-
set (MOSQ_LIBS ${MOSQ_LIBS} websockets_static)
225+
set (MOSQ_LIBS ${MOSQ_LIBS} websockets)
226226
if (WIN32)
227227
set (MOSQ_LIBS ${MOSQ_LIBS} iphlpapi)
228228
link_directories(${mosquitto_SOURCE_DIR})

0 commit comments

Comments
 (0)