From 1c18f0320d887d94aa2261ddceb6339897428200 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Wed, 4 Dec 2019 12:20:23 +0300 Subject: CMake: Added SO version --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2abd7bc..9d08eef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -252,6 +252,10 @@ endif() if(libADLMIDI_SHARED) add_library(ADLMIDI_shared SHARED ${libADLMIDI_SOURCES}) set_target_properties(ADLMIDI_shared PROPERTIES OUTPUT_NAME ADLMIDI) + set_target_properties(ADLMIDI_shared PROPERTIES + VERSION ${libADLMIDI_VERSION} + SOVERSION ${libADLMIDI_VERSION_MAJOR} + ) target_include_directories(ADLMIDI_shared PUBLIC ${libADLMIDI_SOURCE_DIR}/include) set_legacy_standard(ADLMIDI_shared) set_visibility_hidden(ADLMIDI_shared) -- cgit v1.2.3