aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzbroyar <zbroyar@users.noreply.github.com>2020-10-20 20:58:22 +0300
committerGitHub <noreply@github.com>2020-10-20 10:58:22 -0700
commitbc61b70a427ed81d4fe30965db121d6cad180e23 (patch)
tree8475401326831479dcf70bcbe1336b038ed73981
parent3100690b6be8166a9ab5349f6b0e64cf1d5d4665 (diff)
downloadvcpkg-bc61b70a427ed81d4fe30965db121d6cad180e23.tar.gz
vcpkg-bc61b70a427ed81d4fe30965db121d6cad180e23.zip
[libwebsockets] Extend LWS build params with gencrypto & tls options (#14074)
-rw-r--r--ports/libwebsockets/CONTROL1
-rw-r--r--ports/libwebsockets/portfile.cmake2
2 files changed, 3 insertions, 0 deletions
diff --git a/ports/libwebsockets/CONTROL b/ports/libwebsockets/CONTROL
index 00d81d2d4..90b5672e8 100644
--- a/ports/libwebsockets/CONTROL
+++ b/ports/libwebsockets/CONTROL
@@ -1,5 +1,6 @@
Source: libwebsockets
Version: 4.1.3
+Port-Version: 1
Build-Depends: zlib, openssl, libuv, pthreads (windows)
Homepage: https://github.com/warmcat/libwebsockets
Description: Libwebsockets is a lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions as client or server.
diff --git a/ports/libwebsockets/portfile.cmake b/ports/libwebsockets/portfile.cmake
index e34f03271..1a4c0d538 100644
--- a/ports/libwebsockets/portfile.cmake
+++ b/ports/libwebsockets/portfile.cmake
@@ -137,6 +137,8 @@ vcpkg_configure_cmake(
OPTIONS
-DLWS_WITH_STATIC=${LWS_WITH_STATIC}
-DLWS_WITH_SHARED=${LWS_WITH_SHARED}
+ -DLWS_WITH_GENCRYPTO=ON
+ -DLWS_WITH_TLS=ON
-DLWS_WITH_BUNDLED_ZLIB=OFF
-DLWS_WITHOUT_TESTAPPS=ON
-DLWS_IPV6=ON