Skip to content

Commit

Permalink
Also use versioned .so install for MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Sep 1, 2024
1 parent a2faea6 commit 6a106e7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/backends/mysql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ add_library(soci_mysql

add_library(SOCI::MySQL ALIAS soci_mysql)

set_target_properties(
soci_mysql PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
VERSION ${PROJECT_VERSION}
EXPORT_NAME MySQL
)

soci_public_dependency(
NAME MySQL
DEP_TARGETS MySQL::MySQL
Expand Down

0 comments on commit 6a106e7

Please sign in to comment.