Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 821794b

Browse files
Set SOVERSION to MajorMinor
1 parent 8106b9c commit 821794b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ add_library(${PROJECT_NAME} SHARED ${SOURCE_FILES})
2121

2222
target_link_libraries(${PROJECT_NAME} ${PROJECT_LIBS})
2323

24-
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${BUILD_VERSION} SOVERSION ${BUILD_MAJOR})
24+
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${BUILD_VERSION} SOVERSION ${BUILD_MAJOR}${BUILD_MINOR})
2525

2626
include(GNUInstallDirs)
2727
set(LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}") # "lib" or "lib64"

0 commit comments

Comments
 (0)