diff options
Diffstat (limited to 'ports/s2n')
| -rw-r--r-- | ports/s2n/portfile.cmake | 7 | ||||
| -rw-r--r-- | ports/s2n/vcpkg.json | 1 |
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", |
