aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/mbedtls/CONTROL2
-rw-r--r--ports/mbedtls/portfile.cmake5
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/m-/mbedtls.json5
4 files changed, 10 insertions, 4 deletions
diff --git a/ports/mbedtls/CONTROL b/ports/mbedtls/CONTROL
index 74164ea10..dc8bded7b 100644
--- a/ports/mbedtls/CONTROL
+++ b/ports/mbedtls/CONTROL
@@ -1,6 +1,6 @@
Source: mbedtls
Version: 2.24.0
-Port-Version: 1
+Port-Version: 2
Homepage: https://github.com/ARMmbed/mbedtls
Description: An open source, portable, easy to use, readable and flexible SSL library
Supports: !uwp
diff --git a/ports/mbedtls/portfile.cmake b/ports/mbedtls/portfile.cmake
index 196f7c08b..3bd961fbc 100644
--- a/ports/mbedtls/portfile.cmake
+++ b/ports/mbedtls/portfile.cmake
@@ -25,6 +25,7 @@ vcpkg_configure_cmake(
${FEATURE_OPTIONS}
-DENABLE_TESTING=OFF
-DENABLE_PROGRAMS=OFF
+ -DMBEDTLS_FATAL_WARNINGS=FALSE
)
vcpkg_install_cmake()
@@ -33,8 +34,8 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-if(WIN32 AND pthreads IN_LIST FEATURES)
+if (VCPKG_TARGET_IS_WINDOWS AND pthreads IN_LIST FEATURES)
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
-endif()
+endif ()
vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/versions/baseline.json b/versions/baseline.json
index 7565cc7ba..a06db4fb0 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3658,7 +3658,7 @@
},
"mbedtls": {
"baseline": "2.24.0",
- "port-version": 1
+ "port-version": 2
},
"mcpp": {
"baseline": "2.7.2.14",
diff --git a/versions/m-/mbedtls.json b/versions/m-/mbedtls.json
index 4eb92bc59..6498c4d2c 100644
--- a/versions/m-/mbedtls.json
+++ b/versions/m-/mbedtls.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "f1591b930b769b43c14a193282eb85e9a7c51a47",
+ "version-string": "2.24.0",
+ "port-version": 2
+ },
+ {
"git-tree": "8b510a700284731a6f552ff2cd874794af4032ff",
"version-string": "2.24.0",
"port-version": 1