From: Helmut Schaa Date: Tue, 7 May 2013 13:04:18 +0000 (+0200) Subject: libubox: Allow to build against libjson-c > 0.9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ecee1a3bea109c50964355becdce16edaafc6151;p=oweals%2Flibubox.git libubox: Allow to build against libjson-c > 0.9 Signed-off-by: Helmut Schaa --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c574bf7..015b8bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})