Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLs

Use ${OPENJPEG_INSTALL_DOC_DIR} as DESTINATION of HTML documents,
instead of share/doc.
This commit is contained in:
Lemures Lemniscati 2020-12-14 23:00:04 +09:00
parent 98a4c5c370
commit aaddbc7c07
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ if(DOXYGEN_FOUND)
# install HTML documentation (install png files too): # install HTML documentation (install png files too):
install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/html install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/html
DESTINATION share/doc DESTINATION ${OPENJPEG_INSTALL_DOC_DIR}
PATTERN ".svn" EXCLUDE PATTERN ".svn" EXCLUDE
) )
else() else()