From 12f7201abe2e3b7d88aef0b098502bce956a4628 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 4 Jan 2023 22:42:05 +0100 Subject: [PATCH] cmake: install man page fixes #637 --- miniupnpc/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/miniupnpc/CMakeLists.txt b/miniupnpc/CMakeLists.txt index 6c1f265..7c29b2a 100644 --- a/miniupnpc/CMakeLists.txt +++ b/miniupnpc/CMakeLists.txt @@ -292,6 +292,10 @@ if (NOT UPNPC_NO_INSTALL) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/miniupnpc.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig ) + + install(FILES man3/miniupnpc.3 + DESTINATION ${CMAKE_INSTALL_MANDIR}/man3 + ) endif() # vim: ts=2:sw=2:expandtab