Browse Source

CMake: Bump SONAME to 5.

The soname of libjson-c needs to be bumped as there were API changes
introduced since the last release:

  * lh_abort() has been removed
  * lh_table_lookup() has been removed
  * TRUE and FALSE defines have been removed
pull/571/head
Björn Esser 5 years ago
parent
commit
6c7838eb2c
No known key found for this signature in database GPG Key ID: F52E98007594C21D
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      CMakeLists.txt

+ 2
- 2
CMakeLists.txt View File

@@ -365,8 +365,8 @@ add_library(${PROJECT_NAME}
${JSON_C_HEADERS}
)
set_target_properties(${PROJECT_NAME} PROPERTIES
VERSION 4.0.0
SOVERSION 4)
VERSION 5.0.0
SOVERSION 5)

# If json-c is used as subroject it set to target correct interface -I flags and allow
# to build external target without extra include_directories(...)


Loading…
Cancel
Save