File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -70,15 +70,19 @@ if (NOT EXISTS "${SEQAN3_DOXYGEN_STD_TAGFILE}" OR SEQAN3_DOXYGEN_STD_TAGFILE STR
70
70
DOWNLOAD_NAME "html-book.tar.xz"
71
71
DOWNLOAD_NO_EXTRACT YES
72
72
BINARY_DIR "${PROJECT_BINARY_DIR} "
73
- BUILD_BYPRODUCTS "${SEQAN3_DOXYGEN_STD_TAGFILE } "
73
+ BUILD_BYPRODUCTS "${SEQAN3_DEFAULT_DOXYGEN_STD_TAGFILE } "
74
74
CONFIGURE_COMMAND /bin/sh -c "xzcat html-book.tar.xz | tar -xf - cppreference-doxygen-web.tag.xml"
75
75
BUILD_COMMAND rm "html-book.tar.xz"
76
76
INSTALL_COMMAND "" )
77
77
else ()
78
78
message (STATUS "Copying existing tag file: ${SEQAN3_DOXYGEN_STD_TAGFILE} " )
79
79
# Copy tag file such that it is present in the built documentation. This is useful if the documentation is
80
80
# subsequently deployed to a server.
81
- configure_file ("${SEQAN3_DOXYGEN_STD_TAGFILE} " "${SEQAN3_DEFAULT_DOXYGEN_STD_TAGFILE} " COPYONLY )
81
+ add_custom_target (download-cppreference-doxygen-web-tag)
82
+ add_custom_command (TARGET download-cppreference-doxygen-web-tag
83
+ COMMAND ${CMAKE_COMMAND} -E copy "${SEQAN3_DOXYGEN_STD_TAGFILE} "
84
+ "${SEQAN3_DEFAULT_DOXYGEN_STD_TAGFILE} "
85
+ BYPRODUCTS "${SEQAN3_DEFAULT_DOXYGEN_STD_TAGFILE} " )
82
86
set (SEQAN3_DOXYGEN_STD_TAGFILE "${SEQAN3_DEFAULT_DOXYGEN_STD_TAGFILE} " )
83
87
endif ()
84
88
You can’t perform that action at this time.
0 commit comments