Skip to content

Commit 4a8b5e2

Browse files
committed
CMake: rename target doc -> ZycoreDoc
Both the documentation target in zycore and zydis were previously called "doc" which caused a CMake error in zydis complaining about the same name being used twice.
1 parent a754e11 commit 4a8b5e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,10 @@ install(DIRECTORY "include/" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
218218
# =============================================================================================== #
219219
# Doxygen documentation #
220220
# =============================================================================================== #
221+
221222
find_package(Doxygen)
222223
if (DOXYGEN_FOUND)
223-
doxygen_add_docs(doc "include/Zycore/" ALL)
224+
doxygen_add_docs(ZycoreDoc "include/Zycore/" ALL)
224225
install(
225226
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html/"
226227
DESTINATION "${CMAKE_INSTALL_DOCDIR}/api"

0 commit comments

Comments
 (0)