[aws-c-cal] Remove OpenSSL dependency from Windows and macOS. (#44996)

This commit is contained in:
Theodore Tsirpanis 2025-04-14 23:07:39 +03:00 committed by GitHub
parent a62dbe714a
commit 043d415db8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 3 deletions

View File

@ -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()

View File

@ -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

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "89bfec3f208df540aae6e782cc9e993b29580c5a",
"version": "0.8.8",
"port-version": 1
},
{
"git-tree": "b4f501b994ed102042e7d3ed48c41a5b49ea88e2",
"version": "0.8.8",

View File

@ -418,7 +418,7 @@
},
"aws-c-cal": {
"baseline": "0.8.8",
"port-version": 0
"port-version": 1
},
"aws-c-common": {
"baseline": "0.12.2",