cmake: add option to disable building docs
This commit is contained in:
parent
ea0b575dab
commit
3f08d80b22
@ -54,6 +54,7 @@ add_custom_command(OUTPUT libcurl-symbols.md
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
if(BUILD_DOCS)
|
||||
add_manual_pages(man_MANS)
|
||||
add_custom_target(man ALL DEPENDS ${man_MANS})
|
||||
if(NOT CURL_DISABLE_INSTALL)
|
||||
@ -62,3 +63,4 @@ if(NOT CURL_DISABLE_INSTALL)
|
||||
endif()
|
||||
|
||||
add_subdirectory(opts)
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user