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/02/09 20:20:09 UTC
[logging-log4cxx] 29/49: Provide install directory variables as
defined by the GNU Coding Standards
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 c4f1b3d34d84d858081e6c7b154df8ec1dfddf02
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Sat Feb 1 13:58:03 2020 +1100
Provide install directory variables as defined by the GNU Coding Standards
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 91cfb74..b37e6e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,7 @@ find_library(APR_UTIL_LIBRARIES NAMES libaprutil-1 aprutil-1)
add_subdirectory(src)
## Installing
+include(GNUInstallDirs)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src/main/include/log4cxx
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
FILES_MATCHING PATTERN "*.h"