diff options
author | Kamil Rytarowski <n54@gmx.com> | 2016-02-28 03:53:23 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2016-02-28 03:53:23 +0100 |
commit | e8d40d6e873f4a85696fac5da81eb9dbe7d1bc6c (patch) | |
tree | 3785a6a15410593f56af59621f52206305acc7e3 | |
parent | 96bda566ccf21b7762757fb745f1fc0031e89476 (diff) |
Fix installation dir of man-pages on NetBSD
-rw-r--r-- | man/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt index 443996e..e0acd75 100644 --- a/man/CMakeLists.txt +++ b/man/CMakeLists.txt @@ -1,8 +1,10 @@ if (NOT MSVC) + +include(GNUInstallDirs) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man1/cmark.1 - DESTINATION share/man/man1) + DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man3/cmark.3 - DESTINATION share/man/man3) + DESTINATION ${CMAKE_INSTALL_MANDIR}/man3) endif(NOT MSVC) - |