Skip to content
Snippets Groups Projects
Commit df1ac0ea authored by Georg Vinogradov's avatar Georg Vinogradov
Browse files

Update README.md

parent 05a14943
Branches
No related tags found
1 merge request!12Resolve "Prepare for hand in"
Pipeline #183585 passed
...@@ -64,17 +64,15 @@ run ...@@ -64,17 +64,15 @@ run
```bash ```bash
git clone https://github.com/eclipse/paho.mqtt.c.git git clone https://github.com/eclipse/paho.mqtt.c.git
cd paho.mqtt.c cd paho.mqtt.c
git checkout v1.2.1 cmake -Bbuild -H. -DPAHO_WITH_SSL=OFF
cmake -Bbuild -H. -DPAHO_WITH_SSL=ON
sudo cmake --build build/ --target install sudo cmake --build build/ --target install
sudo ldconfig
``` ```
#### Installing PahoMQTT C++ library #### Installing PahoMQTT C++ library
**after** installation of C library run **after** installation of C library run
```bash ```bash
git clone https://github.com/eclipse/paho.mqtt.cpp git clone https://github.com/eclipse/paho.mqtt.cpp
cd paho.mqtt.cpp cd paho.mqtt.cpp
cmake -Bbuild -H. cmake -Bbuild -H. -DPAHO_WITH_SSL=OFF
sudo cmake --build build/ --target install sudo cmake --build build/ --target install
``` ```
#### Set environment variables for MQTT #### Set environment variables for MQTT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment