[civetweb] Add optional SSL support (#10431)

This commit is contained in:
Gregor Jasny 2020-03-28 03:58:37 +01:00 committed by GitHub
parent 7b92363b8f
commit f3de074f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,8 @@
Source: civetweb
Version: 2019-07-05
Version: 2019-07-05-1
Description: Easy to use, powerful, C/C++ embeddable web server.
Supports: !uwp
Supports: !uwp
Feature: ssl
Build-Depends: openssl
Description: Enable SSL support

View File

@ -14,6 +14,10 @@ vcpkg_from_github(
HEAD_REF master
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
ssl CIVETWEB_ENABLE_SSL
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
@ -23,8 +27,9 @@ vcpkg_configure_cmake(
-DCIVETWEB_ENABLE_CXX=ON
-DCIVETWEB_ENABLE_IPV6=ON
-DCIVETWEB_ENABLE_SERVER_EXECUTABLE=OFF
-DCIVETWEB_ENABLE_SSL=OFF
-DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=OFF
-DCIVETWEB_ENABLE_WEBSOCKETS=ON
${FEATURE_OPTIONS}
)
vcpkg_install_cmake()