diff options
author | Wohlstand <admin@wohlnet.ru> | 2019-12-04 12:20:23 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2019-12-04 12:20:23 +0300 |
commit | 1c18f0320d887d94aa2261ddceb6339897428200 (patch) | |
tree | 1524c076f139a6add6d7e9347979863ff1e53bad /CMakeLists.txt | |
parent | c5e9ca56d446819bfd42615d2398e3817a286ef9 (diff) | |
download | libADLMIDI-1c18f0320d887d94aa2261ddceb6339897428200.tar.gz libADLMIDI-1c18f0320d887d94aa2261ddceb6339897428200.tar.bz2 libADLMIDI-1c18f0320d887d94aa2261ddceb6339897428200.zip |
CMake: Added SO version
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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) |