aboutsummaryrefslogtreecommitdiff
path: root/CMake/Manpage.cmake
diff options
context:
space:
mode:
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()