aboutsummaryrefslogtreecommitdiff
path: root/ports/mosquitto/libwebsockets.patch
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2020-01-13 23:55:59 -0800
committerJackBoosY <yuzaiyang@beyondsoft.com>2020-01-13 23:55:59 -0800
commit2514481b42ebdeec28649582fc666955cf206c84 (patch)
tree60c9809a5c3c8adbad240a40b1088a6f8e42c019 /ports/mosquitto/libwebsockets.patch
parentb751326c91c9a307aaf5e340b61ab9f2d1ad45a4 (diff)
parent28eee51adb36f2165be846e77ef7b3ee5b3f8789 (diff)
downloadvcpkg-2514481b42ebdeec28649582fc666955cf206c84.tar.gz
vcpkg-2514481b42ebdeec28649582fc666955cf206c84.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/jack/upgrade_libi
Diffstat (limited to 'ports/mosquitto/libwebsockets.patch')
-rw-r--r--ports/mosquitto/libwebsockets.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/mosquitto/libwebsockets.patch b/ports/mosquitto/libwebsockets.patch
new file mode 100644
index 000000000..647ff5d70
--- /dev/null
+++ b/ports/mosquitto/libwebsockets.patch
@@ -0,0 +1,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)
+