Fix man page installs

This commit is contained in:
Drew DeVault 2015-11-13 07:56:06 -05:00
parent fd1a59def3
commit 5c3f40111a

View file

@ -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 ()