Skip to content

Commit

Permalink
Link correctly with shared websockets library if needed
Browse files Browse the repository at this point in the history
see: eclipse-mosquitto#2751

Patch contributed by Joachim Zobel <[email protected]> and  Daniel Engberg <[email protected]>
  • Loading branch information
narc-Ontakac2 authored and ralight committed Sep 6, 2024
1 parent 7e4b5da commit 729cd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ if (WITH_WEBSOCKETS)
link_directories(${mosquitto_SOURCE_DIR})
endif (WIN32)
else (STATIC_WEBSOCKETS)
set (MOSQ_LIBS ${MOSQ_LIBS} websockets)
set (MOSQ_LIBS ${MOSQ_LIBS} websockets_shared)
endif (STATIC_WEBSOCKETS)
endif (WITH_WEBSOCKETS)

Expand Down

0 comments on commit 729cd7a

Please sign in to comment.