diff options
-rw-r--r-- | CMakeLists.txt | 2 |
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) "man-${name}.${section}") install( - FILES "${CMAKE_CURRENT_BINARY_DIR}/${name}.${section}" + FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${section}" DESTINATION "share/man/man${section}" COMPONENT documentation) endfunction () |