projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf93f3
)
libubox: Allow to build against libjson-c > 0.9
author
Helmut Schaa
<helmut.schaa@googlemail.com>
Tue, 7 May 2013 13:04:18 +0000
(15:04 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 7 May 2013 13:53:36 +0000
(15:53 +0200)
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index c574bf72305e95a3cfd2ba1a208a72f69d5f3413..015b8bd64f21a03a3b93dddd9f3fd6d6c1fe0b3e 100644
(file)
--- 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})