diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dad9e9..141fa36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required (VERSION 3.2.0) project (DiscordRPC) +set(DRPC_VERSION 3.4.0) include(GNUInstallDirs) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 290d761..feff943 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -71,6 +71,7 @@ if(UNIX) endif(APPLE) add_library(discord-rpc ${BASE_RPC_SRC}) + set_target_properties(discord-rpc PROPERTIES SOVERSION ${DRPC_VERSION}) target_link_libraries(discord-rpc PUBLIC pthread) if (APPLE)