Ticket #48231: patch-doc-CMakeLists.txt.diff

File patch-doc-CMakeLists.txt.diff, 578 bytes (added by Schamschula (Marius Schamschula), 9 years ago)
  • doc/CMakeLists.txt

    old new  
    1616
    1717# copy all doc files
    1818add_custom_target(copy_docs)
    19 foreach(doc_file ${DOC_FILES})
    20   add_custom_command(TARGET copy_docs PRE_BUILD
     19add_custom_command(TARGET copy_docs PRE_BUILD
    2120                     COMMAND ${CMAKE_COMMAND} -E
    22                          copy ${doc_file} ${DOXYDOCS})
    23 endforeach()
     21                         copy_directory . ${DOXYDOCS})
    2422
    2523add_custom_target(docs
    2624        COMMENT "Generating documentation in ${DOXYDOCS}"