format output as json
[oweals/uqmi.git] / CMakeLists.txt
index ce2e14764d6d4b1f429d84659f4b798374896874..a09865fe3a9f1f7b016eaa4ce0a8f8086a6f15b9 100644 (file)
@@ -7,7 +7,8 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
 
 SET(SOURCES main.c dev.c commands.c qmi-message.c)
 
-SET(LIBS ubox)
+FIND_LIBRARY(json json-c json)
+SET(LIBS ubox blobmsg_json ${json})
 
 IF(DEBUG_PACKET)
   ADD_DEFINITIONS(-DDEBUG_PACKET)