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 <[email protected]>
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}
+)

Reply via email to