084a92d
From cf32f714b154b04203113eea2fd9c0741e79dcf6 Mon Sep 17 00:00:00 2001
084a92d
From: Ben Rosser <rosser.bjr@gmail.com>
084a92d
Date: Mon, 15 Aug 2016 19:43:28 -0400
084a92d
Subject: [PATCH] Also version the .so files of the plugins.
084a92d
084a92d
Use the same versions as current cAudio, for now.
084a92d
---
084a92d
 Plugins/EAXLegacyPreset/CMakeLists.txt | 5 ++++-
084a92d
 Plugins/mp3Decoder/CMakeLists.txt      | 5 ++++-
084a92d
 2 files changed, 8 insertions(+), 2 deletions(-)
084a92d
084a92d
diff --git a/Plugins/EAXLegacyPreset/CMakeLists.txt b/Plugins/EAXLegacyPreset/CMakeLists.txt
084a92d
index 1ca4ec4..e15b259 100644
084a92d
--- a/Plugins/EAXLegacyPreset/CMakeLists.txt
084a92d
+++ b/Plugins/EAXLegacyPreset/CMakeLists.txt
084a92d
@@ -25,4 +25,7 @@ if(${CAUDIO_STATIC})
084a92d
 	ADD_DEFINITIONS(-DCAUDIO_STATIC_LIB)
084a92d
 endif()
084a92d
 
084a92d
-install_all_targets(EAXLegacyPreset)
084a92d
\ No newline at end of file
084a92d
+set_property(TARGET EAXLegacyPreset PROPERTY VERSION "2.3.0")
084a92d
+set_property(TARGET EAXLegacyPreset PROPERTY SOVERSION 2 )
084a92d
+
084a92d
+install_all_targets(EAXLegacyPreset)
084a92d
diff --git a/Plugins/mp3Decoder/CMakeLists.txt b/Plugins/mp3Decoder/CMakeLists.txt
084a92d
index 8d16696..a621a98 100644
084a92d
--- a/Plugins/mp3Decoder/CMakeLists.txt
084a92d
+++ b/Plugins/mp3Decoder/CMakeLists.txt
084a92d
@@ -25,4 +25,7 @@ if(${CAUDIO_STATIC})
084a92d
 	ADD_DEFINITIONS(-DCAUDIO_STATIC_LIB)
084a92d
 endif()
084a92d
 
084a92d
-install_all_targets(cAp_mp3Decoder)
084a92d
\ No newline at end of file
084a92d
+set_property(TARGET cAp_mp3Decoder PROPERTY VERSION "2.3.0")
084a92d
+set_property(TARGET cAp_mp3Decoder PROPERTY SOVERSION 2 )
084a92d
+
084a92d
+install_all_targets(cAp_mp3Decoder)