aboutsummaryrefslogtreecommitdiff
path: root/ports/mosquitto/libwebsockets.patch
blob: 647ff5d70034a6fc10d691faf3a311dc5ec5d212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 473931c8f..a8aa78e5d 100644
--- a/CMakeLists.txt	
+++ b/CMakeLists.txt
@@ -45,6 +45,7 @@ endif (WITH_TLS)
 
 option(WITH_SOCKS "Include SOCKS5 support?" ON)
 if (WITH_SOCKS)
+    find_package(Libwebsockets CONFIG REQUIRED)
 	add_definitions("-DWITH_SOCKS")
 endif (WITH_SOCKS)