Re: [OpenWrt-Devel] [PATCH] ubox: CMake: fix json-c detection

2015-04-27 Thread Rafał Miłecki
On 27 April 2015 at 22:13, Yegor Yefremov wrote: > Use PKG_SEARCH_MODULE() to detect json-c library, > otherwise the search fails, if both json-c and json > are not present in pkg-config database. Just wanted to say thanks. I remember I got some problems with finding json-c when trying to install

[OpenWrt-Devel] [PATCH] ubox: CMake: fix json-c detection

2015-04-27 Thread Yegor Yefremov
Use PKG_SEARCH_MODULE() to detect json-c library, otherwise the search fails, if both json-c and json are not present in pkg-config database. Signed-off-by: Yegor Yefremov --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index