diff options
| author | Ahmed Yarub Hani Al Nuaimi <ahmedyarub@yahoo.com> | 2021-01-25 04:37:22 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-24 23:37:22 -0800 |
| commit | be2092af4e6f7649dee37969104f93f68c3945fc (patch) | |
| tree | 862c7075b509c465f4d29dc59250dcda90db66f8 /ports/mbedtls | |
| parent | e263d00933414bb1cd84be4bd6e4f43c4bc03ce9 (diff) | |
| download | vcpkg-be2092af4e6f7649dee37969104f93f68c3945fc.tar.gz vcpkg-be2092af4e6f7649dee37969104f93f68c3945fc.zip | |
Fix Mbed TLS build for Android (#15680)
* Fix Mbed TLS build for Android
* Fix Mbed TLS build for Android
Add better Windows checks
* Fix libssh build for Android
* update baseline
* Remove redundant parameter
* Fix version
* Fix version
* Fix paramters
* Fix version
* Better Android support
* Fix version
* Disable warnings as errors for Mbed TLS
* Restore formatting
* Fix version files
Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'ports/mbedtls')
| -rw-r--r-- | ports/mbedtls/CONTROL | 2 | ||||
| -rw-r--r-- | ports/mbedtls/portfile.cmake | 5 |
2 files changed, 4 insertions, 3 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 |
