You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2023/01/21 17:03:13 UTC

[logging-log4cxx] 01/01: Put the log4cxx cmake files in the correct location

This is an automated email from the ASF dual-hosted git repository.

rmiddleton pushed a commit to branch cmake-qt-correct-location
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit 56147528603ee6ff65a2ed91e315ec709a473725
Author: Robert Middleton <ro...@rm5248.com>
AuthorDate: Sat Jan 21 12:02:35 2023 -0500

    Put the log4cxx cmake files in the correct location
---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5503c3a4..7cab7484 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -175,7 +175,7 @@ install(FILES   "${CMAKE_CURRENT_BINARY_DIR}/log4cxxConfigVersion.cmake"
 if(LOG4CXX_QT_SUPPORT)
     install(EXPORT log4cxx-qtTargets
       FILE        log4cxx-qtConfig.cmake
-      DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/log4cxx
+      DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/log4cxx-qt
     )
     # Support for find_package(log4cxx 0.11) in consuming CMake projects
     include(CMakePackageConfigHelpers)
@@ -184,7 +184,7 @@ if(LOG4CXX_QT_SUPPORT)
       COMPATIBILITY SameMinorVersion
     )
     install(FILES   "${CMAKE_CURRENT_BINARY_DIR}/log4cxx-qtConfigVersion.cmake"
-      DESTINATION   ${CMAKE_INSTALL_LIBDIR}/cmake/log4cxx
+      DESTINATION   ${CMAKE_INSTALL_LIBDIR}/cmake/log4cxx-qt
     )
 endif(LOG4CXX_QT_SUPPORT)