Merge pull request #61 from mabrand/fix2
Added BUILD_DOCUMENTATION option.
This commit is contained in:
commit
043c3d2f2f
@ -941,6 +941,13 @@ ENDIF()
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
# Documentation
|
# Documentation
|
||||||
|
|
||||||
|
OPTION(
|
||||||
|
VMIME_BUILD_DOCUMENTATION
|
||||||
|
"Build documentation"
|
||||||
|
ON
|
||||||
|
)
|
||||||
|
|
||||||
|
IF(VMIME_BUILD_DOCUMENTATION)
|
||||||
FIND_PACKAGE(Doxygen)
|
FIND_PACKAGE(Doxygen)
|
||||||
|
|
||||||
IF(DOXYGEN_FOUND)
|
IF(DOXYGEN_FOUND)
|
||||||
@ -954,7 +961,7 @@ IF(DOXYGEN_FOUND)
|
|||||||
COMMENT "Generating API documentation with Doxygen" VERBATIM
|
COMMENT "Generating API documentation with Doxygen" VERBATIM
|
||||||
)
|
)
|
||||||
ENDIF(DOXYGEN_FOUND)
|
ENDIF(DOXYGEN_FOUND)
|
||||||
|
ENDIF(VMIME_BUILD_DOCUMENTATION)
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Sanity checks
|
# Sanity checks
|
||||||
|
Loading…
Reference in New Issue
Block a user