Skip to content

Commit 6157372

Browse files
authored
build: add SOVERSION to shared library
fix #393
1 parent 6f8c26b commit 6157372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/matplot/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ target_include_directories(matplot
9898
PUBLIC $<BUILD_INTERFACE:${MATPLOT_ROOT_DIR}/source>
9999
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
100100

101-
set_target_properties(matplot PROPERTIES VERSION ${PROJECT_VERSION})
101+
set_target_properties(matplot PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
102102

103103
# Shared library symbol export
104104
include(GenerateExportHeader)

0 commit comments

Comments
 (0)