X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuqmi.git;a=blobdiff_plain;f=CMakeLists.txt;h=a09865fe3a9f1f7b016eaa4ce0a8f8086a6f15b9;hp=ce2e14764d6d4b1f429d84659f4b798374896874;hb=c550d53423bbf52ec76c1aee9cea67dea61c7845;hpb=c0e7fc3d79c9b6055ba789059cddd0dfcdf82d6f diff --git a/CMakeLists.txt b/CMakeLists.txt index ce2e147..a09865f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)