cmake: install man page

fixes #637
This commit is contained in:
Thomas Bernard 2023-01-04 22:42:05 +01:00
parent b9bbab490a
commit 12f7201abe

View File

@ -292,6 +292,10 @@ if (NOT UPNPC_NO_INSTALL)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/miniupnpc.pc install(FILES ${CMAKE_CURRENT_BINARY_DIR}/miniupnpc.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
) )
install(FILES man3/miniupnpc.3
DESTINATION ${CMAKE_INSTALL_MANDIR}/man3
)
endif() endif()
# vim: ts=2:sw=2:expandtab # vim: ts=2:sw=2:expandtab