File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ project(trantor)
4
4
set (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR} /cmake_modules/ )
5
5
6
6
set (TRANTOR_MAJOR_VERSION 1 )
7
- set (TRANTOR_MINOR_VERSION 1 )
8
- set (TRANTOR_PATCH_VERSION 1 )
7
+ set (TRANTOR_MINOR_VERSION 4 )
8
+ set (TRANTOR_PATCH_VERSION 0 )
9
9
set (TRANTOR_VERSION
10
10
${TRANTOR_MAJOR_VERSION} .${TRANTOR_MINOR_VERSION}.${TRANTOR_PATCH_VERSION} )
11
11
@@ -27,6 +27,9 @@ if(BUILD_TRANTOR_SHARED)
27
27
set (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX} /${INSTALL_LIB_DIR} " )
28
28
endif ("${isSystemDir} " STREQUAL "-1" )
29
29
add_library (${PROJECT_NAME} SHARED )
30
+ set_target_properties (${PROJECT_NAME} PROPERTIES
31
+ VERSION ${TRANTOR_VERSION}
32
+ SOVERSION ${TRANTOR_MAJOR_VERSION} )
30
33
if (CMAKE_CXX_COMPILER_ID MATCHES MSVC )
31
34
# Ignore MSVC C4251 and C4275 warning of exporting std objects with no dll export
32
35
# We export class to facilitate maintenance, thus if you compile
You can’t perform that action at this time.
0 commit comments