commit | c4f1b3d34d84d858081e6c7b154df8ec1dfddf02 | [log] [tgz] |
---|---|---|
author | Stephen Webb <swebb2066@gmail.com> | Sat Feb 01 13:58:03 2020 +1100 |
committer | Stephen Webb <swebb2066@gmail.com> | Sat Feb 01 13:58:03 2020 +1100 |
tree | 019a284bad574434e853d975a63df65442ca1a1f | |
parent | 4745721f678f52788c47a6f2bf486b3131fd5375 [diff] |
Provide install directory variables as defined by the GNU Coding Standards
diff --git a/CMakeLists.txt b/CMakeLists.txt index 91cfb74..b37e6e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -22,6 +22,7 @@ add_subdirectory(src) ## Installing +include(GNUInstallDirs) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src/main/include/log4cxx DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING PATTERN "*.h"