Commit 3265f81d authored by Francois Bleibel's avatar Francois Bleibel
Browse files

Now only generated documentation if GENERATE_DOC is ON.

parent 09dda434
......@@ -106,7 +106,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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment