mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-08 16:52:13 +08:00
Only include man subdirectory if the DOCUMENTATION option is on
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
This commit is contained in:
parent
62402f7b60
commit
3163cf2d70
@ -79,6 +79,8 @@ endif (${WITH_SOCKS} STREQUAL ON)
|
||||
|
||||
option(WITH_SRV "Include SRV lookup support?" OFF)
|
||||
|
||||
option(DOCUMENTATION "Build documentation?" ON)
|
||||
|
||||
# ========================================
|
||||
# Include projects
|
||||
# ========================================
|
||||
@ -86,7 +88,9 @@ option(WITH_SRV "Include SRV lookup support?" OFF)
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(client)
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(man)
|
||||
if (${DOCUMENTATION} STREQUAL ON)
|
||||
add_subdirectory(man)
|
||||
endif (${DOCUMENTATION} STREQUAL ON)
|
||||
|
||||
# ========================================
|
||||
# Install config file
|
||||
|
Loading…
x
Reference in New Issue
Block a user