Skip to content

Commit

Permalink
build: add SOVERSION to shared library
Browse files Browse the repository at this point in the history
fix #393
  • Loading branch information
badshah400 committed Feb 21, 2024
1 parent 6f8c26b commit 6157372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/matplot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ target_include_directories(matplot
PUBLIC $<BUILD_INTERFACE:${MATPLOT_ROOT_DIR}/source>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)

set_target_properties(matplot PROPERTIES VERSION ${PROJECT_VERSION})
set_target_properties(matplot PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})

# Shared library symbol export
include(GenerateExportHeader)
Expand Down

0 comments on commit 6157372

Please sign in to comment.