Added support for manpage construction for OpenBSD
This commit is contained in:
parent
e61620bd8e
commit
18b335e2f2
@ -376,6 +376,7 @@ endif(APPLE)
|
||||
|
||||
# OpenBSD
|
||||
if(OPENBSD)
|
||||
set(WITH_MANPAGES "ON")
|
||||
set(WITH_ALSA "OFF")
|
||||
set(WITH_PULSE "ON")
|
||||
set(WITH_WAYLAND "OFF")
|
||||
|
@ -108,7 +108,11 @@ if(WITH_MANPAGES)
|
||||
add_custom_target(xfreerdp.manpage ALL
|
||||
DEPENDS xfreerdp.1)
|
||||
|
||||
if(OPENBSD)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp.1 DESTINATION man/man1)
|
||||
else()
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/xfreerdp.1 DESTINATION share/man/man1)
|
||||
endif()
|
||||
else()
|
||||
message(WARNING "WITH_MANPAGES was set, but xsltproc was not found. man-pages will not be installed")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user