From ecee1a3bea109c50964355becdce16edaafc6151 Mon Sep 17 00:00:00 2001 From: Helmut Schaa Date: Tue, 7 May 2013 15:04:18 +0200 Subject: [PATCH] libubox: Allow to build against libjson-c > 0.9 Signed-off-by: Helmut Schaa --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})