Make documentation installation optional (#333)
This commit is contained in:
parent
7bb1b50835
commit
dc1e36fa0e
@ -7,4 +7,5 @@ endif ()
|
|||||||
add_custom_target(doc
|
add_custom_target(doc
|
||||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.py ${FMT_VERSION})
|
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.py ${FMT_VERSION})
|
||||||
|
|
||||||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION share/doc/fmt)
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
|
||||||
|
DESTINATION share/doc/fmt OPTIONAL)
|
||||||
|
Loading…
Reference in New Issue
Block a user