-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#2739) paho-mqtt-cpp: update paho-mqtt-c dep to 1.3.5 + add components
* paho-mqtt-cpp: update paho-mqtt-c dep to 1.3.4 * Fix paho-mqtt-c hooks Signed-off-by: Uilian Ries <uilianries@gmail.com> * paho-mqtt-cpp: update to 1.3.5 * paho-mqtt-cpp: enable SSL by default Upstream enables SSL by default on all platform except Windows. However, paho-mqtt-c enables SSL by default. In order, that we can use the default binaries build for it and pass CI, we enable SSL by default for paho-mqtt-cpp on all platforms. * paho-mqtt-cpp: add cmake_find_package generator * Add components for paho-mqtt-cpp Signed-off-by: Uilian Ries <uilianries@gmail.com> * Add components for paho-mqtt-cpp Signed-off-by: Uilian Ries <uilianries@gmail.com> * Remove cmake folder Signed-off-by: Uilian Ries <uilianries@gmail.com> * paho-mqtt-cpp: fix components Co-authored-by: Uilian Ries <uilianries@gmail.com>
- Loading branch information
1 parent
0353bba
commit a79d9f7
Showing
6 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
cmake_minimum_required(VERSION 2.8.12) | ||
cmake_minimum_required(VERSION 3.1) | ||
project(test_package) | ||
|
||
set(CMAKE_VERBOSE_MAKEFILE TRUE) | ||
|
||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | ||
conan_basic_setup() | ||
|
||
find_package(PahoMqttCpp REQUIRED CONFIG) | ||
|
||
add_executable(${PROJECT_NAME} test_package.cpp) | ||
target_link_libraries(${PROJECT_NAME} ${CONAN_LIBS}) | ||
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11) | ||
if(PAHO_MQTT_CPP_SHARED) | ||
target_link_libraries(${PROJECT_NAME} PahoMqttCpp::paho-mqttpp3) | ||
else() | ||
target_link_libraries(${PROJECT_NAME} PahoMqttCpp::paho-mqttpp3-static) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,5 @@ int main(int argc, char* argv[]) | |
mqtt::client cli(SERVER_ADDRESS, CLIENT_ID); | ||
|
||
return 0; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
--- | ||
versions: | ||
"1.0.1": | ||
folder: "all" | ||
|