summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa103915..7be65a03 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,7 +92,7 @@ function (add_manpage name section)
92 "man-${name}.${section}") 92 "man-${name}.${section}")
93 93
94 install( 94 install(
95 FILES "${CMAKE_CURRENT_BINARY_DIR}/${name}.${section}" 95 FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${section}"
96 DESTINATION "share/man/man${section}" 96 DESTINATION "share/man/man${section}"
97 COMPONENT documentation) 97 COMPONENT documentation)
98endfunction () 98endfunction ()