11 Commits

Author SHA1 Message Date
Etienne Champetier
f09845f8db cjson: bump minimum cmake version to 3.10
Starting cmake 4.0, anything under 3.5 produces an error, see
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html#policy-version

Use a patch instead of CMAKE_OPTIONS so we don't forget to remove this hack.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-10-07 15:40:37 -04:00
Fabrice Fontaine
7155777e2f cjson: fix PKG_CPE_ID
cjson_project:cjson has been deprecated in favour of davegamble:cjson:
https://nvd.nist.gov/products/cpe/detail/70BC45DA-D915-4A1D-96AF-84A6CECEE148

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2025-09-20 23:14:23 +08:00
Chris Swan
22aa9e52ff cjson: update to 1.7.19
This is a bugfix release
Full release notes available at:
https://github.com/DaveGamble/cJSON/releases/tag/v1.7.19

Signed-off-by: Chris Swan <chris@atsign.com>
2025-09-14 11:51:37 +02:00
Chris Swan
3b98387df6 cjson: update to 1.7.18
This is a bugfix release
Full release notes available at:
https://github.com/DaveGamble/cJSON/releases/tag/v1.7.18

Signed-off-by: Chris Swan <chris@atsign.com>
2025-05-25 14:08:34 +03:00
krant
46b5cd6663 cjson: update to 1.7.17
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-10 14:55:02 -08:00
Karl Palsson
75df9b7a4a libs/cjson: bump to 1.7.15
This is a bugfix release.
Full release notes available at: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.15

Signed-off-by: Karl Palsson <karlp@etactica.com>
2022-09-26 09:38:00 +00:00
Rosen Penev
2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev
a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Rosen Penev
d2aba09d26 cjson: fix wrong pkgconfig paths
The .pc file points to OS paths instead of target ones.

Remove CMAKE_INSTALL as InstallDev is explicit.

Move MAINTAINER to PKG_MAINTAINER for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-21 13:49:27 +00:00
Karl Palsson
0a3e0114ce libs: cjson: correctly install to named include paths
Supports the more traditional "#include <cjson/cJSON.h>"
instead of dropping them in the root.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-12-14 15:13:06 +00:00
Karl Palsson
2973f85310 libs: add cJSON
New package, new dependency of mosquitto v2.0

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-12-08 09:38:34 +00:00