logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tschoen...@apache.org
Subject [logging-log4cxx] 03/03: LOGCXX-510: Quotes for version numbers in "set_target_properties".
Date Thu, 25 Jun 2020 07:27:39 GMT
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 <tschoening@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}"
 )


Mime
View raw message