1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #7832 from alalek:install_docs_target

This commit is contained in:
Alexander Alekhin
2016-12-14 11:05:04 +00:00
+6
View File
@@ -171,4 +171,10 @@ if(BUILD_DOCS AND DOXYGEN_FOUND)
DESTINATION "${OPENCV_DOC_INSTALL_PATH}"
COMPONENT "docs" OPTIONAL
)
# Alias to build/install docs only
add_custom_target(install_docs
DEPENDS doxygen
COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=docs -P "${CMAKE_BINARY_DIR}/cmake_install.cmake"
)
endif()