Skip to content

Commit

Permalink
ADD_DOCBOOK should be a function, not a macro
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Aug 9, 2023
1 parent 9e34e57 commit 7c3176b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/CMake/DocBook.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ if (TARGET brlcad_css)
add_dependencies(docbook brlcad_css)
endif (TARGET brlcad_css)

macro(ADD_DOCBOOK fmts in_xml_files outdir deps_list)
function(ADD_DOCBOOK fmts in_xml_files outdir deps_list)

# If we got the name of a list or an explicit list, translate into
# the form we need.
Expand Down Expand Up @@ -282,7 +282,7 @@ macro(ADD_DOCBOOK fmts in_xml_files outdir deps_list)
endif(NOT "${all_outfiles}" STREQUAL "")
endif(BRLCAD_EXTRADOCS)

endmacro(ADD_DOCBOOK)
endfunction(ADD_DOCBOOK)

# Local Variables:
# tab-width: 8
Expand Down

0 comments on commit 7c3176b

Please sign in to comment.