CMake: copy 'tiny.png' to doc folder

The image 'tiny.png' was not copied to the documentation/html
directory when docs were built with CMake.
This commit is contained in:
Albrecht Schlosser 2019-09-16 17:17:54 +02:00
parent e063852d29
commit bce85d9511
1 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,12 @@ if(OPTION_BUILD_HTML_DOCUMENTATION)
@ONLY @ONLY
) )
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/src/tiny.png
${CMAKE_CURRENT_BINARY_DIR}/html/tiny.png
COPYONLY
)
# generate html docs # generate html docs
add_custom_target(html add_custom_target(html