diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 70ee3d0a85..cb0d40d949 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -166,4 +166,8 @@ if(HAVE_DOC_GENERATOR) foreach(f ${OPTIONAL_DOC_LIST}) install(FILES "${f}" DESTINATION "${OPENCV_DOC_INSTALL_PATH}" OPTIONAL COMPONENT docs) endforeach() + + # dummy targets + add_custom_target(docs) + add_custom_target(html_docs) endif(HAVE_DOC_GENERATOR)