[libxslt] cmake: Set SOVERSION
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] cmake: Set SOVERSION
- Date: Tue, 20 Sep 2022 13:42:09 +0000 (UTC)
commit a76d2d296bf563ee21581769b9c8206c82619970
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Tue Sep 20 14:52:01 2022 +0200
cmake: Set SOVERSION
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f619300e..d44034e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -227,6 +227,7 @@ set_target_properties(
POSITION_INDEPENDENT_CODE ON
PREFIX lib
VERSION ${PROJECT_VERSION}
+ SOVERSION ${LIBXSLT_MAJOR_VERSION}
)
if(MSVC)
@@ -314,6 +315,7 @@ set_target_properties(
POSITION_INDEPENDENT_CODE ON
PREFIX lib
VERSION ${LIBEXSLT_VERSION}
+ SOVERSION ${LIBEXSLT_MAJOR_VERSION}
)
if(MSVC)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]