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: #2751

Patch contributed by Joachim Zobel <[email protected]> and  Daniel Engberg <[email protected]>
  • Loading branch information
narc-Ontakac2 authored and LocutusOfBorg committed Sep 26, 2023
1 parent f4400fa commit 6f41f77
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 6f41f77

Please sign in to comment.