mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[curl] Add features. (#7156)
This commit is contained in:
parent
d5959f2e4c
commit
042d7d368f
@ -1,5 +1,5 @@
|
||||
Source: curl
|
||||
Version: 7.65.0-2
|
||||
Version: 7.65.0-3
|
||||
Build-Depends: zlib
|
||||
Homepage: https://github.com/curl/curl
|
||||
Description: A library for transferring data with URLs
|
||||
@ -37,3 +37,13 @@ Description: SSL support (mbedTLS)
|
||||
|
||||
Feature: sectransp
|
||||
Description: SSL support (sectransp)
|
||||
|
||||
Feature: c-ares
|
||||
Build-Depends: c-ares
|
||||
Description: c-ares support
|
||||
|
||||
Feature:sspi
|
||||
Description: SSPI support
|
||||
|
||||
Feature: brotli
|
||||
Description: brotli support (brotli)
|
@ -73,6 +73,24 @@ if("tool" IN_LIST FEATURES)
|
||||
set(BUILD_CURL_EXE ON)
|
||||
endif()
|
||||
|
||||
# c-ares
|
||||
set(USE_ARES OFF)
|
||||
if("c-ares" IN_LIST FEATURES)
|
||||
set(USE_ARES ON)
|
||||
endif()
|
||||
|
||||
# SSPI
|
||||
set(USE_WINDOWS_SSPI OFF)
|
||||
if("sspi" IN_LIST FEATURES)
|
||||
set(USE_WINDOWS_SSPI ON)
|
||||
endif()
|
||||
|
||||
# brotli
|
||||
set(HAVE_BROTLI OFF)
|
||||
if("brotli" IN_LIST FEATURES)
|
||||
set(HAVE_BROTLI ON)
|
||||
endif()
|
||||
|
||||
# UWP targets
|
||||
set(UWP_OPTIONS)
|
||||
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
@ -101,6 +119,9 @@ vcpkg_configure_cmake(
|
||||
-DCMAKE_USE_SECTRANSP=${USE_SECTRANSP}
|
||||
-DCMAKE_USE_LIBSSH2=${USE_LIBSSH2}
|
||||
-DHTTP_ONLY=${USE_HTTP_ONLY}
|
||||
-DENABLE_ARES=${USE_ARES}
|
||||
-DCURL_WINDOWS_SSPI=${USE_WINDOWS_SSPI}
|
||||
-DCURL_BROTLI=${HAVE_BROTLI}
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON
|
||||
OPTIONS_RELEASE
|
||||
-DBUILD_CURL_EXE=${BUILD_CURL_EXE}
|
||||
|
Loading…
x
Reference in New Issue
Block a user