mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 06:49: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>
25 lines
704 B
CMake
25 lines
704 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO wolfssl/wolftpm
|
|
REF v2.4.0
|
|
SHA512 82aa43f8773cc230d403d7e6cdbc4dc7dc8a3cb8e2f942c810a5ef0d60647d288ce82910820127ed6e67771d3900cfc55c5f9d87b722e0847bcb6a81c4e41441
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DWOLFTPM_EXAMPLES=no
|
|
OPTIONS_DEBUG
|
|
-DCMAKE_C_FLAGS='-DDEBUG_WOLFTPM'
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/wolftpm)
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|