xo-unit: build: + custom 'docs' target, same as 'sphinx'

This commit is contained in:
Roland Conybeare 2024-04-03 15:00:01 -04:00
commit bde506df1c

View file

@ -94,4 +94,9 @@ else()
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/${PROJECT_NAME}
COMPONENT Documentation
OPTIONAL)
# make docs --> generate sphinx documentation
add_custom_target(
docs
DEPENDS sphinx)
endif()