diff --git a/docs/api/CMakeLists.txt b/docs/api/CMakeLists.txt index efd37d5f..60d5dbb9 100644 --- a/docs/api/CMakeLists.txt +++ b/docs/api/CMakeLists.txt @@ -19,6 +19,8 @@ configure_file( add_custom_command( OUTPUT ${DOXYGEN_OUTPUT_DIR}/qch/kddockwidgets-api.qch COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile + #handle a bug in doxygen where image files referred to in markdown are not copied the output + COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_SOURCE_DIR}/screencap.gif ${DOXYGEN_OUTPUT_DIR}/html DEPENDS ${_dox_deps} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile WORKING_DIRECTORY ${CMAKE_BINARY_DIR} )