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

Now only generated documentation if GENERATE_DOC is ON.

parent 09dda434
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,10 @@ ADD_SUBDIRECTORY(unitTesting) ...@@ -106,7 +106,10 @@ ADD_SUBDIRECTORY(unitTesting)
# #
# Documentation produced by doxygen # Documentation produced by doxygen
# #
INCLUDE(FindDoxygen) IF(GENERATE_DOC)
IF(DOXYGEN_FOUND) INCLUDE(FindDoxygen)
add_subdirectory(doc) IF(DOXYGEN_FOUND)
ENDIF(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.
Finish editing this message first!
Please register or to comment