We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1451f7d + c98330b commit 8b92151Copy full SHA for 8b92151
doc/CMakeLists.txt
@@ -171,4 +171,10 @@ if(BUILD_DOCS AND DOXYGEN_FOUND)
171
DESTINATION "${OPENCV_DOC_INSTALL_PATH}"
172
COMPONENT "docs" OPTIONAL
173
)
174
+
175
+ # Alias to build/install docs only
176
+ add_custom_target(install_docs
177
+ DEPENDS doxygen
178
+ COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=docs -P "${CMAKE_BINARY_DIR}/cmake_install.cmake"
179
+ )
180
endif()
0 commit comments