CMake: generate ldoc make target always, displaying a hint
This commit is contained in:
parent
2eb33efe3b
commit
bcf5c72207
|
@ -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()
|
||||
# }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue