2017-01-16 13:34:32 +03:00
|
|
|
function(install_freerdp_man manpage section)
|
|
|
|
if(WITH_MANPAGES)
|
2018-05-02 17:31:19 +03:00
|
|
|
if(OPENBSD OR FREEBSD)
|
2017-01-16 13:34:32 +03:00
|
|
|
install(FILES ${manpage} DESTINATION man/man${section})
|
|
|
|
else()
|
|
|
|
install(FILES ${manpage} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man${section})
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
endfunction()
|