mirror of
https://github.com/swaywm/sway.git
synced 2026-05-05 06:46:49 -04:00
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:
parent
8e06985cc1
commit
0ed0c824e9
6 changed files with 8 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue