ubox: CMake: fix json-c detection
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 27 Apr 2015 20:13:42 +0000 (22:13 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 May 2015 12:14:45 +0000 (14:14 +0200)
commit791a361ad1b08fa56e554654109122b828657a2b
tree684b7144366db01a08544bc2c4b7302f18de0646
parenta8e70c6d361967a23977417fb7d6cf56234f8b81
ubox: CMake: fix json-c detection

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 <yegorslists@googlemail.com>
CMakeLists.txt