diff options
author | Robert Adam <dev@robert-adam.de> | 2020-09-09 10:01:44 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2020-09-11 09:27:06 +0300 |
commit | 4f330cc73cec4ce674d4ec7adb2bf05665a6917d (patch) | |
tree | 769822f30104b8b6b7192ada38a66e8f754b36d0 /overlay_gl | |
parent | 0ba1eac51b5f4443e6fbb1bc3e157403903e9a01 (diff) |
BUILD(cmake): Also install man files
On Unix-systems (Linux & Mac) we now also install our man-files when
the user invokes the generated install target.
Fixes #4472
Co-Authored-By: Thomas Lange <thomas-lange2@gmx.de>
Co-Authored-By: Davide Beatrici <git@davidebeatrici.dev>
Diffstat (limited to 'overlay_gl')
-rw-r--r-- | overlay_gl/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/overlay_gl/CMakeLists.txt b/overlay_gl/CMakeLists.txt index ea86ece62..565aee69c 100644 --- a/overlay_gl/CMakeLists.txt +++ b/overlay_gl/CMakeLists.txt @@ -5,6 +5,8 @@ # Overlay payload for UNIX-like systems. +include(GNUInstallDirs) + if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64") option(overlay-xcompile "Build 32 bit overlay library, necessary for the overlay to work with 32 bit processes." ON) endif() @@ -116,3 +118,6 @@ else() ${LIB_COREFOUNDATION} ) endif() + +# install overlay man-files +install(FILES "${CMAKE_SOURCE_DIR}/man/mumble-overlay.1" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc) |