[libxml2/2.10] cmake: Set SOVERSION
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2/2.10] cmake: Set SOVERSION
- Date: Fri, 14 Oct 2022 12:39:49 +0000 (UTC)
commit b05ff0ab0c301ea0c61e9cad46b90eca1184e08d
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Tue Sep 20 14:30:19 2022 +0200
cmake: Set SOVERSION
Fixes #410.
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 730aec72..9fdc2e6e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -449,6 +449,7 @@ set_target_properties(
POSITION_INDEPENDENT_CODE ON
PREFIX lib
VERSION ${PROJECT_VERSION}
+ SOVERSION ${LIBXML_MAJOR_VERSION}
)
if(MSVC)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]