Skip to content

Commit

Permalink
Make documentation installation optional (#333)
Browse files Browse the repository at this point in the history
(cherry picked from commit dc1e36f)
  • Loading branch information
vitaut authored and foonathan committed Oct 23, 2016
1 parent 87f5f86 commit 713a061
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ endif ()
add_custom_target(doc
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)

0 comments on commit 713a061

Please sign in to comment.