Need -DBUILD_DOCS CMake flag to build docs
authorRAJKIRAN NATARAJAN <saskatchewancatch@gmail.com>
Sat, 2 Mar 2019 20:19:00 +0000 (15:19 -0500)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 5 Mar 2019 11:02:31 +0000 (14:02 +0300)
Must have that flag. Otherwise following "doxygen overview" tutorial won't work.

doc/tutorials/introduction/documenting_opencv/documentation_tutorial.markdown

index 0f26daf..0379a3e 100644 (file)
@@ -32,11 +32,11 @@ Generate documentation {#tutorial_documentation_generate}
 -   Create build directory near the sources folder(s) and go into it
 -   Run cmake (assuming you put sources to _opencv_ folder):
     @code{.sh}
-    cmake ../opencv
+    cmake -DBUILD_DOCS=ON ../opencv
     @endcode
     Or if you get contrib sources too:
     @code{.sh}
-    cmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ../opencv
+    cmake -DBUILD_DOCS=ON -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ../opencv
     @endcode
 -   Run make:
     @code{.sh}