File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ jsoncpp_parse_version( ${JSONCPP_VERSION} JSONCPP_VERSION )
74
74
#IF(NOT JSONCPP_VERSION_FOUND)
75
75
# MESSAGE(FATAL_ERROR "Failed to parse version string properly. Expect X.Y.Z")
76
76
#ENDIF(NOT JSONCPP_VERSION_FOUND)
77
+ SET ( JSONCPP_SOVERSION 11 )
77
78
SET ( JSONCPP_USE_SECURE_MEMORY "0" CACHE STRING "-D...=1 to use memory-wiping allocator for STL" )
78
79
79
80
MESSAGE (STATUS "JsonCpp Version: ${JSONCPP_VERSION_MAJOR} .${JSONCPP_VERSION_MINOR} .${JSONCPP_VERSION_PATCH} " )
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ ENDIF()
42
42
IF (BUILD_SHARED_LIBS )
43
43
ADD_DEFINITIONS ( -DJSON_DLL_BUILD )
44
44
ADD_LIBRARY (jsoncpp_lib SHARED ${PUBLIC_HEADERS} ${jsoncpp_sources} )
45
- SET_TARGET_PROPERTIES ( jsoncpp_lib PROPERTIES VERSION ${JSONCPP_VERSION} SOVERSION ${JSONCPP_VERSION_MAJOR } )
45
+ SET_TARGET_PROPERTIES ( jsoncpp_lib PROPERTIES VERSION ${JSONCPP_VERSION} SOVERSION ${JSONCPP_SOVERSION } )
46
46
SET_TARGET_PROPERTIES ( jsoncpp_lib PROPERTIES OUTPUT_NAME jsoncpp
47
47
DEBUG_OUTPUT_NAME jsoncpp${DEBUG_LIBNAME_SUFFIX} )
48
48
@@ -66,7 +66,7 @@ ENDIF()
66
66
67
67
IF (BUILD_STATIC_LIBS)
68
68
ADD_LIBRARY (jsoncpp_lib_static STATIC ${PUBLIC_HEADERS} ${jsoncpp_sources} )
69
- SET_TARGET_PROPERTIES ( jsoncpp_lib_static PROPERTIES VERSION ${JSONCPP_VERSION} SOVERSION ${JSONCPP_VERSION_MAJOR } )
69
+ SET_TARGET_PROPERTIES ( jsoncpp_lib_static PROPERTIES VERSION ${JSONCPP_VERSION} SOVERSION ${JSONCPP_SOVERSION } )
70
70
SET_TARGET_PROPERTIES ( jsoncpp_lib_static PROPERTIES OUTPUT_NAME jsoncpp
71
71
DEBUG_OUTPUT_NAME jsoncpp${DEBUG_LIBNAME_SUFFIX} )
72
72
You can’t perform that action at this time.
0 commit comments