Explicitly setting the version of json-c required

to 0.12.1. This is needed because the development

 version breaks the existing API of json_object_array_length()

 by moving the return from int to size_t.

This would fix #1355
This commit is contained in:
Marius Orcsik 2017-10-27 12:14:40 +02:00
parent d75ee3f9ce
commit 69e9b1386f
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A
11 changed files with 24 additions and 12 deletions

View file

@ -48,7 +48,7 @@ if (LD_LIBRARY_PATH)
add_definitions(-D_LD_LIBRARY_PATH="${LD_LIBRARY_PATH}")
endif()
find_package(JsonC REQUIRED)
find_package(JsonC 0.12.1 REQUIRED)
find_package(PCRE REQUIRED)
find_package(WLC REQUIRED)
find_package(Wayland REQUIRED)