diff options
| author | Marius Orcsik <marius.orcsik@rocket-internet.de> | 2017-10-27 12:14:40 +0200 |
|---|---|---|
| committer | Marius Orcsik <marius.orcsik@rocket-internet.de> | 2017-10-27 12:17:02 +0200 |
| commit | 69e9b1386ffa2f78bfa69ccd84e815c9f1d5920e (patch) | |
| tree | ad7b8b58b12924e640c93f549fa33933936f558b /CMakeLists.txt | |
| parent | d75ee3f9ce1e7143375252cc86aeccbbc752599b (diff) | |
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
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b253f1fc..bf37d9df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |
