mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Adaptions for API change in json-c v0.13
Lift restriction on json-c <= 0.12.1 ipc-server: Acquire ownership of referenced json_object properly When adding a referenced json_object with an unknown lifetime to another json_object, it must be done with a wrapped call to json_object_get() to acquire the ownership of that json_object.
This commit is contained in:
parent
d0bd0ed598
commit
c08c805ecd
17 changed files with 41 additions and 26 deletions
|
|
@ -48,7 +48,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 REQUIRED)
|
||||
find_package(PCRE REQUIRED)
|
||||
find_package(WLC REQUIRED)
|
||||
find_package(Wayland REQUIRED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue