Форматирование

This commit is contained in:
Andrei Astafev 2021-06-24 10:39:06 +03:00
parent 7a6c8e4a30
commit ffa6262670
2 changed files with 10 additions and 6 deletions

View File

@ -68,8 +68,10 @@ function(add_breathe_target target)
${RST_FILES} ${WORK_DIR})
endif()
endif()
install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/breathe/
COMPONENT doc OPTIONAL
install(
DIRECTORY ${CMAKE_BINARY_DIR}/doc/breathe/
COMPONENT doc
OPTIONAL
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/breathe)
else()
message(STATUS "CMLIB warning:")

View File

@ -35,8 +35,10 @@ function(add_doxygen_target target)
COMMAND ${DOXYGEN_EXECUTABLE} ${work_dir}/Doxyfile
WORKING_DIRECTORY ${work_dir}
COMMENT "Generating API documentation with Doxygen")
install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/doxygen/html/
COMPONENT doc OPTIONAL
install(
DIRECTORY ${CMAKE_BINARY_DIR}/doc/doxygen/html/
COMPONENT doc
OPTIONAL
DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/doxygen)
else()
message(STATUS "CMLIB warning:")