[cmake] install manual from binary directory

Fixes out-of-tree builds.
This commit is contained in:
David Adam 2018-03-23 21:12:36 +11:00
parent b819f38e83
commit 0572b29f26

View file

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