diff --git a/ports/aws-c-cal/portfile.cmake b/ports/aws-c-cal/portfile.cmake index a7cbb75710..0517555057 100644 --- a/ports/aws-c-cal/portfile.cmake +++ b/ports/aws-c-cal/portfile.cmake @@ -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() diff --git a/ports/aws-c-cal/vcpkg.json b/ports/aws-c-cal/vcpkg.json index 35e04dde66..f35dee1cbe 100644 --- a/ports/aws-c-cal/vcpkg.json +++ b/ports/aws-c-cal/vcpkg.json @@ -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 diff --git a/versions/a-/aws-c-cal.json b/versions/a-/aws-c-cal.json index 453f9a5f9b..7b191105cd 100644 --- a/versions/a-/aws-c-cal.json +++ b/versions/a-/aws-c-cal.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "89bfec3f208df540aae6e782cc9e993b29580c5a", + "version": "0.8.8", + "port-version": 1 + }, { "git-tree": "b4f501b994ed102042e7d3ed48c41a5b49ea88e2", "version": "0.8.8", diff --git a/versions/baseline.json b/versions/baseline.json index 8fb5fd93e3..edeeaf9013 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -418,7 +418,7 @@ }, "aws-c-cal": { "baseline": "0.8.8", - "port-version": 0 + "port-version": 1 }, "aws-c-common": { "baseline": "0.12.2",