Commit df1ac0ea authored by Georg Vinogradov's avatar Georg Vinogradov
Browse files

Update README.md

parent 05a14943
Pipeline #183585 passed with stages
in 1 minute and 1 second
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment