diff --git a/cmake/UseDoxygen.cmake b/cmake/UseDoxygen.cmake index 245ba56..d9196cf 100644 --- a/cmake/UseDoxygen.cmake +++ b/cmake/UseDoxygen.cmake @@ -135,8 +135,9 @@ if(DOXYGEN_FOUND AND DOXYFILE_IN_FOUND) configure_file("${DOXYFILE_IN}" "${DOXYFILE}" @ONLY) - get_target_property(DOC_TARGET doc TYPE) - if(NOT DOC_TARGET) + #get_target_property(DOC_TARGET doc TYPE) + #if(NOT DOC_TARGET) + if(NOT TARGET doc) add_custom_target(doc) endif()