From 5c3f40111a3c5ddfdd66bfda153c7962db674ed0 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 13 Nov 2015 07:56:06 -0500 Subject: [PATCH] Fix man page installs --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aa1039151..7be65a037 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 ()