1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

Optional compilation of developper's doc

This commit is contained in:
Aris Adamantiadis
2009-12-16 23:19:18 +01:00
parent 55abcfeef6
commit d950d6af52
3 changed files with 9 additions and 1 deletions

View File

@ -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)