Commit 24496a99 authored by Mike Grüne's avatar Mike Grüne
Browse files

Fixed Pthread Make error

parent efe8a0a2
Pipeline #148166 passed with stage
in 1 minute and 53 seconds
......@@ -21,6 +21,10 @@ project(MQTT VERSION 1.0
# Find mqtt packages using modules
find_package(MQTT REQUIRED)
# Find Pthread package
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
# Adding executable target
add_executable(mqtt_demo main.cpp)
......
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