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.
1 parent beea04c commit c98330bCopy full SHA for c98330b
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