aboutsummaryrefslogtreecommitdiff
path: root/ports/s2n
diff options
context:
space:
mode:
authorCharles-Auguste Marois <cmarois@coveo.com>2021-09-20 13:01:46 -0400
committerGitHub <noreply@github.com>2021-09-20 10:01:46 -0700
commit2d07df55aff57323707368579215d4afda2a2ca8 (patch)
tree4ccede1aa7221b61a6d9f26823fcc25dc8a605f8 /ports/s2n
parent6fd6830d68fbab599ad78138d3e6d87dcbcbb016 (diff)
downloadvcpkg-2d07df55aff57323707368579215d4afda2a2ca8.tar.gz
vcpkg-2d07df55aff57323707368579215d4afda2a2ca8.zip
[aws-sdk-cpp] Fix targets for aws-sdk-cpp components (#20222)
* [s2n] Add missing release target * [aws-sdk-cpp] Fix targets
Diffstat (limited to 'ports/s2n')
-rw-r--r--ports/s2n/portfile.cmake7
-rw-r--r--ports/s2n/vcpkg.json1
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/s2n/portfile.cmake b/ports/s2n/portfile.cmake
index ee7d23906..151ba0281 100644
--- a/ports/s2n/portfile.cmake
+++ b/ports/s2n/portfile.cmake
@@ -8,15 +8,18 @@ vcpkg_from_github(
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
- PREFER_NINJA
)
vcpkg_cmake_install()
file(GLOB SHARED_CMAKE_FILES
"${CURRENT_PACKAGES_DIR}/debug/lib/s2n"
+ "${CURRENT_PACKAGES_DIR}/lib/s2n"
)
-file(COPY "${SHARED_CMAKE_FILES}" DESTINATION "${CURRENT_PACKAGES_DIR}/share/")
+
+foreach(FILE ${SHARED_CMAKE_FILES})
+ file(COPY "${FILE}" DESTINATION "${CURRENT_PACKAGES_DIR}/share/")
+endforeach()
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug"
diff --git a/ports/s2n/vcpkg.json b/ports/s2n/vcpkg.json
index d1fda96ca..51359206e 100644
--- a/ports/s2n/vcpkg.json
+++ b/ports/s2n/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "s2n",
"version": "1.0.17",
+ "port-version": 1,
"description": "C99 implementation of the TLS/SSL protocols.",
"homepage": "https://github.com/aws/s2n-tls",
"supports": "!uwp & !windows",