mirror of https://git.tukaani.org/xz.git
CMake: Put xz man page install under if(UNIX) like is for xzdec.
Thanks to Jia Tan.
This commit is contained in:
parent
c1555b1a22
commit
a4193bb6d8
|
@ -681,9 +681,11 @@ if(NOT MSVC AND HAVE_GETOPT_LONG)
|
|||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||
COMPONENT xz)
|
||||
|
||||
install(FILES src/xz/xz.1
|
||||
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
|
||||
COMPONENT xz)
|
||||
if(UNIX)
|
||||
install(FILES src/xz/xz.1
|
||||
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
|
||||
COMPONENT xz)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue