mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-23 19:29:49 +00:00
[civetweb] Add optional SSL support (#10431)
This commit is contained in:
parent
7b92363b8f
commit
f3de074f9b
@ -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
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user