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

Update README.md

parent 73df7261
Pipeline #150041 passed with stage
in 46 seconds
......@@ -72,6 +72,17 @@ cd paho.mqtt.cpp
cmake -Bbuild -H.
sudo cmake --build build/ --target install
```
#### Set environment variable from MQTT
open terminal, and write
```bash
sudo nano /etc/environment
```
in the file, add a new line and write
```bash
MQTT_LIB = "/usr/local/include/"
MQTT_INC = "/usr/local/lib/"
```
## Installing MQTT Publisher/Subscriber demo (locally on Ubuntu)
open terminal, switch to **mqtt_demo** directroy inside the project and run
`cmake .`
......
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