X-Git-Url: http://git.openwrt.org/?p=project%2Flibubox.git;a=blobdiff_plain;f=CMakeLists.txt;h=38709ec30826cacf51f4446be7b8d0b88f43276b;hp=3522fe48ef04338430b9ab013ef4a95c546302dc;hb=791a361ad1b08fa56e554654109122b828657a2b;hpb=a8e70c6d361967a23977417fb7d6cf56234f8b81 diff --git a/CMakeLists.txt b/CMakeLists.txt index 3522fe4..38709ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations) OPTION(BUILD_LUA "build Lua plugin" ON) INCLUDE(FindPkgConfig) -PKG_CHECK_MODULES(JSONC json-c) +PKG_SEARCH_MODULE(JSONC json-c) IF(JSONC_FOUND) ADD_DEFINITIONS(-DJSONC) INCLUDE_DIRECTORIES(${JSONC_INCLUDE_DIRS})