CMake: Put xz man page install under if(UNIX) like is for xzdec.
Thanks to Jia Tan.
This commit is contained in:
parent
5af9e8759f
commit
3523b6ebb5
|
@ -678,7 +678,9 @@ if(NOT MSVC AND HAVE_GETOPT_LONG)
|
||||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||||
COMPONENT xz)
|
COMPONENT xz)
|
||||||
|
|
||||||
install(FILES src/xz/xz.1
|
if(UNIX)
|
||||||
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
|
install(FILES src/xz/xz.1
|
||||||
COMPONENT xz)
|
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
|
||||||
|
COMPONENT xz)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue