aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/UseDoxygen.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/UseDoxygen.cmake')
-rw-r--r--cmake/Modules/UseDoxygen.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/Modules/UseDoxygen.cmake b/cmake/Modules/UseDoxygen.cmake
index 3eb94906..541daced 100644
--- a/cmake/Modules/UseDoxygen.cmake
+++ b/cmake/Modules/UseDoxygen.cmake
@@ -30,6 +30,13 @@ IF (DOXYGEN_FOUND)
SET(DOXY_WARN_FORMAT "\"$file:$line: $text \"")
ENDIF (CMAKE_BUILD_TOOL MATCHES "(msdev|devenv)")
+ #Build the documentation for libssh developpers if asked
+ IF (WITH_INTERNAL_DOC)
+ SET(CMAKE_INTERNAL_DOC "Yes")
+ ELSE (WITH_INTERNAL_DOC)
+ SET(CMAKE_INTERNAL_DOC "No")
+ ENDIF (WITH_INTERNAL_DOC)
+
# we need latex for doxygen because of the formulas
FIND_PACKAGE(LATEX)
IF (NOT LATEX_COMPILER)