vcpkg/ports/mosquitto/0003-add-find_package-libwebsockets.patch
Thomas1664 9f7c4cd4f8
[mosquitto] Update to 2.0.14 (#24271)
* [mosquitto] Update to 2.0.14

* version

* remove tabs

* version
2022-04-21 14:33:08 -07:00

13 lines
347 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2775a3da..ef7ce14a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,6 +55,7 @@ endif (WITH_UNIX_SOCKETS AND NOT WIN32)
option(WITH_SOCKS "Include SOCKS5 support?" ON)
if (WITH_SOCKS)
+ find_package(Libwebsockets CONFIG REQUIRED)
add_definitions("-DWITH_SOCKS")
endif (WITH_SOCKS)