Armin Novak
34a835c412
[cmake,json] limit jansson detection
...
discard versions older than 2.13
2025-10-01 15:22:12 +02:00
Armin Novak
c44052f12f
[cmake,json] add second fallback
...
If both, CMake and pkg-config fail, fall back to find_path and
find_library detection
2025-09-25 16:09:00 +02:00
Armin Novak
8f8cd89f69
[winpr,json] add jansson support
...
* Split JSON implementations in separate files
* Simplify JSON detection
* Add jansson implementation
2025-09-25 15:09:28 +02:00
akallabeth
0eefdbdb40
[cmake,json] improve json detection
2025-04-22 10:20:01 +02:00
akallabeth
faae38120c
[cmake,format] reformat all cmake files
2024-11-27 20:41:48 +01:00
akallabeth
3abd141451
[cmake] fix JSON detection
2024-06-19 14:28:34 +02:00
akallabeth
ac69cf346e
[cmake] add missing include
...
include(CMakeDependentOption) before use.
2024-05-16 16:51:55 +02:00
akallabeth
4b3ecfac47
[winpr,utils] fix cJSON detection
...
* pkg-config sets CJSON_FOUND, check for that instead of the paths, which
might be unset or set to <var>-NOTFOUND
* move detection to own file. find_package targets are meant to be used
in same directory or below, but we define the WinPR target one above,
so include it in parent
2024-05-16 13:27:22 +02:00