0
0
mirror of https://github.com/monero-project/kovri synced 2025-10-05 16:22:54 +02:00

Merge pull request #870

580f2bda Build: correct check for CMake doc target (oneiric)
This commit is contained in:
anonimal
2018-05-01 03:26:45 +00:00

View File

@@ -158,8 +158,7 @@ if(DOXYGEN_FOUND AND DOXYFILE_IN_FOUND)
configure_file("${DOXYFILE_IN}" "${DOXYFILE}" @ONLY)
get_target_property(DOC_TARGET doc TYPE)
if(NOT DOC_TARGET)
if(NOT TARGET doc)
add_custom_target(doc)
endif()