aboutsummaryrefslogtreecommitdiff
path: root/ports/libwebsockets
diff options
context:
space:
mode:
authorPhoebe <925731795@qq.com>2019-08-01 04:01:02 +0800
committerPhil Christensen <philc@microsoft.com>2019-07-31 13:01:02 -0700
commitbcff929875d76ade98c251038eea6f48171facc6 (patch)
treede7aa57e4bde6cedd1a0a5cca1eecc56a8929a9c /ports/libwebsockets
parent80b187ad64ebcd5cbab7fab982c04e6862076d8e (diff)
downloadvcpkg-bcff929875d76ade98c251038eea6f48171facc6.tar.gz
vcpkg-bcff929875d76ade98c251038eea6f48171facc6.zip
Add PREFER_NINJA to many ports (#7468)
* Add PREFER_NINJA to many ports
Diffstat (limited to 'ports/libwebsockets')
-rw-r--r--ports/libwebsockets/CONTROL2
-rw-r--r--ports/libwebsockets/portfile.cmake1
2 files changed, 2 insertions, 1 deletions
diff --git a/ports/libwebsockets/CONTROL b/ports/libwebsockets/CONTROL
index 1b091480a..a180ec420 100644
--- a/ports/libwebsockets/CONTROL
+++ b/ports/libwebsockets/CONTROL
@@ -1,5 +1,5 @@
Source: libwebsockets
-Version: 3.1.0-2
+Version: 3.1.0-3
Build-Depends: zlib, openssl
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 b2b90cccf..06793dd8e 100644
--- a/ports/libwebsockets/portfile.cmake
+++ b/ports/libwebsockets/portfile.cmake
@@ -13,6 +13,7 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" LWS_WITH_SHARED)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
OPTIONS
-DLWS_WITH_STATIC=${LWS_WITH_STATIC}
-DLWS_WITH_SHARED=${LWS_WITH_SHARED}