mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 03:39:06 +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>
29 lines
773 B
CMake
29 lines
773 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO wolfssl/wolfmqtt
|
|
REF v1.13.0
|
|
SHA512 2bd05471c548bacf6fc5166d9c2ee546b3ce5c4fab89ff16175de9ab7696b8b570cdd7d4377378fc0cb579447488dbf727cb938192eb3180ed007414cb949a8a
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DWOLFMQTT_EXAMPLES=no
|
|
OPTIONS_DEBUG
|
|
-DCMAKE_C_FLAGS='-DDEBUG_MQTT'
|
|
)
|
|
|
|
|
|
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/wolfmqtt)
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|