Skip to content
Snippets Groups Projects
Commit acc1de75 authored by Francois Bleibel's avatar Francois Bleibel
Browse files

Only generate documentation if GENERATE_DOC is ON.

parent 9c3744cd
Branches
Tags
No related merge requests found
......@@ -188,7 +188,10 @@ ADD_SUBDIRECTORY(unitTesting)
#
# Documentation produced by doxygen
#
INCLUDE(FindDoxygen)
IF(DOXYGEN_FOUND)
add_subdirectory(doc)
ENDIF(DOXYGEN_FOUND)
IF(GENERATE_DOC)
INCLUDE(FindDoxygen)
IF(DOXYGEN_FOUND)
MESSAGE(STATUS "Doxygen found")
add_subdirectory(doc)
ENDIF(DOXYGEN_FOUND)
ENDIF(GENERATE_DOC)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment