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/08/27 06:30:59 UTC

[logging-log4cxx] branch logcxx_510_cmake_vs2019_compat updated: "$>; " does work and works without "installing" first.

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


The following commit(s) were added to refs/heads/logcxx_510_cmake_vs2019_compat by this push:
     new 2a47137  "$<SHELL_PATH:$<TARGET_FILE_DIR:log4cxx>>;" does work and works without "installing" first.
2a47137 is described below

commit 2a47137f8b068c0b1de9f35366f0a76f07b51263
Author: Thorsten Schöning <ts...@am-soft.de>
AuthorDate: Thu Aug 27 08:30:52 2020 +0200

    "$<SHELL_PATH:$<TARGET_FILE_DIR:log4cxx>>;" does work and works without "installing" first.
---
 src/test/cpp/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/cpp/CMakeLists.txt b/src/test/cpp/CMakeLists.txt
index 643046b..ab2e036 100644
--- a/src/test/cpp/CMakeLists.txt
+++ b/src/test/cpp/CMakeLists.txt
@@ -62,7 +62,7 @@ if( WIN32 )
 	get_filename_component(APR_DLL_DIR "${APR_DLL}" DIRECTORY)
 	get_filename_component(APR_UTIL_DLL_DIR "${APR_UTIL_DLL}" DIRECTORY)
 
-	set(LOG4CXX_DLL_DIR "${CMAKE_INSTALL_PREFIX}\\bin")
+	set(LOG4CXX_DLL_DIR "$<SHELL_PATH:$<TARGET_FILE_DIR:log4cxx>>;")
 	set(XMLLIB_DLL_DIR  "C:\\Users\\tschoening\\Documents\\Svn\\Src\\Libs\\trunk\\C\\XML\\libexpat\\2.2.9\\src\\expat\\out\\install\\x64-Debug\\bin")
 
 	set(PATH_FOR_TESTS ${APR_DLL_DIR};${APR_UTIL_DLL_DIR};${LOG4CXX_DLL_DIR};${XMLLIB_DLL_DIR}\;)