forked from msys2/MINGW-packages
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request msys2#6753 from Adsun701/json-c-0.15
json-c: update to 0.15
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
--- json-c-json-c-0.14/CMakeLists.txt.orig 2020-04-27 16:22:14.788180700 +0300 | ||
+++ json-c-json-c-0.14/CMakeLists.txt 2020-04-27 16:25:33.974302700 +0300 | ||
@@ -380,10 +380,16 @@ | ||
--- a/CMakeLists.txt 2020-08-03 08:55:10.090125184 -0400 | ||
+++ b/CMakeLists.txt 2020-08-03 08:57:21.002463125 -0400 | ||
@@ -416,9 +416,17 @@ | ||
${JSON_C_SOURCES} | ||
${JSON_C_HEADERS} | ||
) | ||
+ | ||
+set(JSON_C_SOVERSION 5) | ||
set_target_properties(${PROJECT_NAME} PROPERTIES | ||
VERSION 5.0.0 | ||
VERSION 5.1.0 | ||
- SOVERSION 5) | ||
+ SOVERSION ${JSON_C_SOVERSION}) | ||
+ | ||
+set_target_properties(${PROJECT_NAME} PROPERTIES | ||
+ OUTPUT_NAME ${PROJECT_NAME} | ||
+ RUNTIME_OUTPUT_NAME ${PROJECT_NAME}-${JSON_C_SOVERSION} | ||
+ ARCHIVE_OUTPUT_NAME ${PROJECT_NAME}) | ||
+ | ||
list(APPEND CMAKE_TARGETS ${PROJECT_NAME}) | ||
# 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(...) | ||
target_include_directories(${PROJECT_NAME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters