X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=CMakeLists.txt;h=2076fc93eb4a8e5b7219b3a3224c1eb6be00281f;hp=74cb080582a1c496c50b0b96677a634313875f8b;hb=35d767f41931df99533fccd0fbf3aa844d869139;hpb=cf90523881521fe8396a728230169b6b8ea7e8da diff --git a/CMakeLists.txt b/CMakeLists.txt index 74cb080..2076fc9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,8 +18,9 @@ SET(SOURCES ubus.c) +find_library(json NAMES json-c json) SET(LIBS - ubox ubus uci json blobmsg_json) + ubox ubus uci ${json} blobmsg_json) IF (NOT DEFINED LIBNL_LIBS) SET(LIBNL_LIBS -lnl)