libubox: Allow to build against libjson-c > 0.9
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
This commit is contained in:
parent
dcf93f3322
commit
ecee1a3bea
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ IF(APPLE)
|
|||
ENDIF()
|
||||
|
||||
INCLUDE(FindPkgConfig)
|
||||
PKG_CHECK_MODULES(JSONC json)
|
||||
PKG_CHECK_MODULES(JSONC json-c json)
|
||||
IF(JSONC_FOUND)
|
||||
ADD_DEFINITIONS(-DJSONC)
|
||||
INCLUDE_DIRECTORIES(${JSONC_INCLUDE_DIRS})
|
||||
|
|
Loading…
Reference in a new issue