Minor changes to build against json-c 0.13.x

I'm not convinced my change to CMakeLists is the correct way to squelch
the json-c version error when building on a system with version
numbers greater than 0.12.1. 0.13.x+ is supposed to be backwards
compatible. Rest of the changes involve replacing int with size_t
where necessary to suppress -Werror=sign-compare on gcc 8.
This commit is contained in:
Jae Jang 2018-04-06 20:59:28 -04:00
parent 8e06985cc1
commit 0ed0c824e9
6 changed files with 8 additions and 8 deletions

View file

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