You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2020/02/09 20:20:10 UTC
[logging-log4cxx] 30/49: Use semantic versioning symbolic links in
the installed target
This is an automated email from the ASF dual-hosted git repository.
tschoening pushed a commit to branch ghpr_14_replace-ant-build-with-cmake
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 6862c5e5bdcb4606fffe59dcd3e47a019bc89763
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Sat Feb 1 16:38:38 2020 +1100
Use semantic versioning symbolic links in the installed target
---
src/main/cpp/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main/cpp/CMakeLists.txt b/src/main/cpp/CMakeLists.txt
index cdf3034..779554a 100644
--- a/src/main/cpp/CMakeLists.txt
+++ b/src/main/cpp/CMakeLists.txt
@@ -164,3 +164,7 @@ target_sources(log4cxx
xmlsocketappender.cpp
zipcompressaction.cpp
)
+set_target_properties(log4cxx PROPERTIES
+ VERSION ${log4cxx_VERSION_MAJOR}.${log4cxx_VERSION_MINOR}.${log4cxx_VERSION_PATCH}
+ SOVERSION ${log4cxx_VERSION_MAJOR}
+)