mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-20 20:27:56 +08:00
fe2d25fa90
* Add wolfSSL port * Add wolfMQTT * Add wolfTPM * Update ci.baseline.txt for wolfSSL, wolfMQTT, wolfTPM * curl: Add wolfSSL feature * wolfSSL: Always build out of tree and enable DES3 * wolfssl: support !uwp and use PORT variable for copyright install * curl: use `VCPKG_TARGET_IS_WINDOWS` instead of triplet and `MATCHES` Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> * curl[wolfssl]: add DES_ECB and add patch to resolve ntlm includes * Fix version database. Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
37 lines
1.1 KiB
CMake
37 lines
1.1 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO wolfssl/wolfssl
|
|
REF v5.3.0-stable
|
|
SHA512 399d2b8aad58471d237d21dea68c33fde2b9a3c117c554c241d9174db02847a6c31afae2908839d18f9ada317b2388560a24c077b76014f663227061342bf045
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DWOLFSSL_BUILD_OUT_OF_TREE=yes
|
|
-DWOLFSSL_EXAMPLES=no
|
|
-DWOLFSSL_CRYPT_TESTS=no
|
|
-DWOLFSSL_OPENSSLEXTRA=yes
|
|
-DWOLFSSL_TPM=yes
|
|
-DWOLFSSL_TLSX=yes
|
|
-DWOLFSSL_OCSP=yes
|
|
-DWOLFSSL_OCSPSTAPLING=yes
|
|
-DWOLFSSL_OCSPSTAPLING_V2=yes
|
|
-DWOLFSSL_CRL=yes
|
|
-DWOLFSSL_DES3=yes
|
|
-DCMAKE_C_FLAGS='-DWOLFSSL_ALT_CERT_CHAINS\ -DWOLFSSL_DES_ECB'
|
|
OPTIONS_DEBUG
|
|
-DWOLFSSL_DEBUG=yes)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/wolfssl)
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|