Skip to content

Commit 7b29a2b

Browse files
RunsForTotktonada
authored andcommitted
Fix mosquitto.h header lookup during build time
1 parent 2c459a1 commit 7b29a2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mqtt/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ add_library(driver SHARED driver.c)
2020
if( DEFINED STATIC_BUILD )
2121
unset(CMAKE_C_FLAGS)
2222
add_subdirectory(../third_party/mosquitto ../third_party/mosquitto/build)
23+
include_directories(../third_party/mosquitto/lib)
2324
if( STATIC_BUILD )
2425
target_link_libraries(driver libmosquitto_static ${LDFLAGS_EX})
2526
else()

0 commit comments

Comments
 (0)