Skip to content

Commit

Permalink
fix UseDoxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
aeantipov committed Apr 1, 2015
1 parent ed625ae commit d0fa6ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/UseDoxygen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit d0fa6ae

Please sign in to comment.