aboutsummaryrefslogtreecommitdiff
path: root/CMake/Manpage.cmake
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-12-17 14:56:51 -0500
committerGitHub <noreply@github.com>2016-12-17 14:56:51 -0500
commit14d9200e4e51c7c4597df65cbf0fb5347ef80caa (patch)
tree4dac5642f1a62276b17811f4fe0708c8bf236c58 /CMake/Manpage.cmake
parent64dea21465c5e6d442153a313453178285c96c19 (diff)
parent09b9106550fc05f71a49a3ddef7db8567c5888ac (diff)
Merge pull request #996 from woutershep/datadir
Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
Diffstat (limited to 'CMake/Manpage.cmake')
-rw-r--r--CMake/Manpage.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/Manpage.cmake b/CMake/Manpage.cmake
index e5503760..d9780bc4 100644
--- a/CMake/Manpage.cmake
+++ b/CMake/Manpage.cmake
@@ -25,7 +25,7 @@ function(add_manpage name section)
install(
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${section}
- DESTINATION share/man/man${section}
+ DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/man/man${section}
COMPONENT documentation
)
endfunction()