Mercurial > molko
changeset 225:d5263d467934
doc: disable if doxygen isn't enable
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 18 Nov 2020 19:52:14 +0100 |
parents | 6f6c49b95f77 |
children | dd7c8d4321a3 |
files | CMakeLists.txt |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Wed Nov 18 19:43:40 2020 +0100 +++ b/CMakeLists.txt Wed Nov 18 19:52:14 2020 +0100 @@ -63,6 +63,10 @@ add_subdirectory(molko) if (MOLKO_WITH_DOC) + if (NOT MOLKO_WITH_DOXYGEN) + message(FATAL_ERROR "Can't build documentation with doxygen disabled") + endif () + add_subdirectory(doc) endif ()