[Build] dependency to mqtt lib
authorJaeyun <jy1210.jung@samsung.com>
Fri, 12 Aug 2022 07:56:16 +0000 (16:56 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 12 Aug 2022 08:15:34 +0000 (17:15 +0900)
commit620a2ea44ce8dd6e488ee1eb86c6a8050fce3d87
tree2e2a32ceff46c4053edc00bea70f68e85adc4561
parentcb408fc99a012ab9355177a987c8f05631989006
[Build] dependency to mqtt lib

Find pkgconfig or library of mqtt library, and set flags if found dependency to mqtt.
Fix build error (invalid args when calling mqtt-connect in test).
Handle invalid param - topic.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
CMakeLists.txt
src/CMakeLists.txt
src/libnnstreamer-edge/nnstreamer-edge-mqtt.c
tests/unittest_nnstreamer-edge.cc