From 0572b29f263c824488a78fcedbaff1eb1f019099 Mon Sep 17 00:00:00 2001 From: David Adam Date: Fri, 23 Mar 2018 21:12:36 +1100 Subject: [PATCH] [cmake] install manual from binary directory Fixes out-of-tree builds. --- cmake/Install.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Install.cmake b/cmake/Install.cmake index e53741821..6061d8280 100644 --- a/cmake/Install.cmake +++ b/cmake/Install.cmake @@ -206,7 +206,7 @@ INSTALL(FILES ${MANUALS} DESTINATION ${mandir}/man1/ OPTIONAL) # fi; \ # done; # Building the manual is optional -INSTALL(DIRECTORY user_doc/html/ # Trailing slash is important! +INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/user_doc/html/ # Trailing slash is important! DESTINATION ${docdir} OPTIONAL) INSTALL(FILES CHANGELOG.md DESTINATION ${docdir})