CMake: generate ldoc make target always, displaying a hint

This commit is contained in:
Daniel Hahler 2019-02-25 08:07:44 +01:00
parent 2eb33efe3b
commit bcf5c72207

View file

@ -315,6 +315,10 @@ if(GENERATE_DOC)
generate_awesomerc
generate-examples
COMMENT "Generating API documentation${ldoc_desc_suffix}")
else()
add_custom_target(ldoc false
COMMENT "ldoc target not available, re-configure CMake with GENERATE_DOC=1."
VERBATIM)
endif()
# }}}