mirror of https://github.com/microsoft/vcpkg.git
[aws-c-cal] Remove OpenSSL dependency from Windows and macOS. (#44996)
This commit is contained in:
parent
a62dbe714a
commit
043d415db8
|
|
@ -7,12 +7,16 @@ vcpkg_from_github(
|
|||
PATCHES remove-libcrypto-messages.patch
|
||||
)
|
||||
|
||||
if (NOT (VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_OSX))
|
||||
set(USE_OPENSSL ON)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
|
||||
-DBUILD_TESTING=FALSE
|
||||
-DUSE_OPENSSL=ON
|
||||
-DUSE_OPENSSL=${USE_OPENSSL}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
{
|
||||
"name": "aws-c-cal",
|
||||
"version": "0.8.8",
|
||||
"port-version": 1,
|
||||
"description": "C99 wrapper for cryptography primitives.",
|
||||
"homepage": "https://github.com/awslabs/aws-c-cal",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": [
|
||||
"aws-c-common",
|
||||
"openssl",
|
||||
{
|
||||
"name": "openssl",
|
||||
"platform": "!windows & !osx"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "89bfec3f208df540aae6e782cc9e993b29580c5a",
|
||||
"version": "0.8.8",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "b4f501b994ed102042e7d3ed48c41a5b49ea88e2",
|
||||
"version": "0.8.8",
|
||||
|
|
|
|||
|
|
@ -418,7 +418,7 @@
|
|||
},
|
||||
"aws-c-cal": {
|
||||
"baseline": "0.8.8",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"aws-c-common": {
|
||||
"baseline": "0.12.2",
|
||||
|
|
|
|||
Loading…
Reference in New Issue