diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-12-17 14:56:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-17 14:56:51 -0500 |
commit | 14d9200e4e51c7c4597df65cbf0fb5347ef80caa (patch) | |
tree | 4dac5642f1a62276b17811f4fe0708c8bf236c58 /CMake/Manpage.cmake | |
parent | 64dea21465c5e6d442153a313453178285c96c19 (diff) | |
parent | 09b9106550fc05f71a49a3ddef7db8567c5888ac (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.cmake | 2 |
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() |