0
0
mirror of https://github.com/monero-project/kovri synced 2025-10-06 08:42:45 +02:00

Build: correct check for CMake doc target

This commit is contained in:
oneiric
2018-04-27 00:35:31 +00:00
parent fcf368c43e
commit 580f2bda20

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()