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/06/25 07:27:39 UTC
[logging-log4cxx] 03/03: LOGCXX-510: Quotes for version numbers in
"set_target_properties".
This is an automated email from the ASF dual-hosted git repository.
tschoening pushed a commit to branch logcxx_510_cmake_vs2019_compat
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 55cafe3e33cbfbbc46d2294b75e9f8405b56769d
Author: Thorsten Schöning <ts...@am-soft.de>
AuthorDate: Thu Jun 25 09:24:09 2020 +0200
LOGCXX-510: Quotes for version numbers in "set_target_properties".
---
src/main/cpp/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/cpp/CMakeLists.txt b/src/main/cpp/CMakeLists.txt
index 8f7d609..1d05b68 100644
--- a/src/main/cpp/CMakeLists.txt
+++ b/src/main/cpp/CMakeLists.txt
@@ -165,6 +165,6 @@ target_sources(log4cxx
zipcompressaction.cpp
)
set_target_properties(log4cxx PROPERTIES
- VERSION ${log4cxx_VERSION_MAJOR}.${log4cxx_VERSION_MINOR}.${log4cxx_VERSION_PATCH}
- SOVERSION ${log4cxx_VERSION_MAJOR}
+ VERSION "${log4cxx_VERSION_MAJOR}.${log4cxx_VERSION_MINOR}.${log4cxx_VERSION_PATCH}"
+ SOVERSION "${log4cxx_VERSION_MAJOR}"
)