[wolfmqtt] update to 1.19.0 (#38849)

Co-authored-by: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com>
This commit is contained in:
lealem47 2024-05-31 14:44:32 -05:00 committed by GitHub
parent f4862747d9
commit 47364fbc30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 25 deletions

View File

@ -1,19 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 32f0332..4cec80c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,12 +65,12 @@ else()
target_compile_options(wolfmqtt PUBLIC ${WOLFSSL_CFLAGS_OTHER})
else()
# For support with vcpkg
- find_package(wolfssl CONFIG)
+ find_package(wolfssl CONFIG REQUIRED)
if (wolfssl_FOUND)
target_compile_definitions(wolfmqtt PUBLIC
"ENABLE_MQTT_TLS"
)
- target_link_libraries(wolfmqtt PUBLIC wolfssl)
+ target_link_libraries(wolfmqtt PUBLIC wolfssl::wolfssl)
endif()
endif()
endif()

View File

@ -1,15 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO wolfssl/wolfmqtt
REF v1.16.0
SHA512 30d28a37b26adacae589b9cfee9a2cd8697fa1e84ac867d08123dab5434bb19152adb0d94224656d2c1f01833d76bcd7ff63b63da4dbce0873b352e93b6e6b12
REF "v${VERSION}"
SHA512 354ab619144bd29258e65bd06219dddb4c89d5709c3246d6968239ab29426fb3882f2d5acad866cc431f6164c5e41b7da3a24ab7923fabc27deafd2801b92580
HEAD_REF master
PATCHES
cmake-patch.diff
)
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DWOLFMQTT_BUILD_OUT_OF_TREE=yes
-DWOLFMQTT_EXAMPLES=no
OPTIONS_DEBUG
-DCMAKE_C_FLAGS='-DDEBUG_MQTT'

View File

@ -1,6 +1,6 @@
{
"name": "wolfmqtt",
"version": "1.16.0",
"version": "1.19.0",
"description": "MQTT library used with wolfSSL library for many platforms",
"homepage": "https://wolfssl.com",
"license": "GPL-2.0-or-later",

View File

@ -9377,7 +9377,7 @@
"port-version": 4
},
"wolfmqtt": {
"baseline": "1.16.0",
"baseline": "1.19.0",
"port-version": 0
},
"wolfssl": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9674399e0c8b210676c8df4bcc19a33ef3be1042",
"version": "1.19.0",
"port-version": 0
},
{
"git-tree": "d01462c764790a2ab97815a9f16a40186b62de14",
"version": "1.16.0",