mirror of https://git.tukaani.org/xz.git
CMake: Add XZ_DOC
This commit is contained in:
parent
188143a50a
commit
d274a2bc00
|
@ -2162,6 +2162,8 @@ if(UNIX)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
option(XZ_DOC "Install basic documention, examples, and license files" ON)
|
||||||
|
if(XZ_DOC)
|
||||||
install(DIRECTORY doc/examples
|
install(DIRECTORY doc/examples
|
||||||
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
|
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
|
||||||
COMPONENT liblzma_Documentation)
|
COMPONENT liblzma_Documentation)
|
||||||
|
@ -2183,6 +2185,7 @@ install(FILES AUTHORS
|
||||||
doc/xz-file-format.txt
|
doc/xz-file-format.txt
|
||||||
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
|
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
|
||||||
COMPONENT Documentation)
|
COMPONENT Documentation)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
Loading…
Reference in New Issue