Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2020-09-19 22:08:22 +0300
committerSebastian Parborg <darkdefende@gmail.com>2020-09-20 13:39:47 +0300
commita81965dd96a376a5782dee851d988270d36c5be1 (patch)
tree135f75eda290f7449b772200cbbee2b182ac2a32 /overlay_gl
parent00d39afd5820063b2b98b0070138ea28ce2b18b5 (diff)
BUILD(cmake): Install overlay libs and script if enabled
Before the overlay libraries and the related script would not be installed. Instead the user would have to manually install them on the system. Closes: #4471
Diffstat (limited to 'overlay_gl')
-rw-r--r--overlay_gl/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/overlay_gl/CMakeLists.txt b/overlay_gl/CMakeLists.txt
index 565aee69c..014e36a54 100644
--- a/overlay_gl/CMakeLists.txt
+++ b/overlay_gl/CMakeLists.txt
@@ -91,6 +91,8 @@ if(NOT APPLE)
"-ldl"
"-lrt"
)
+ # install 32bit overlay library
+ install(TARGETS overlay_gl_x86 LIBRARY DESTINATION "${MUMBLE_INSTALL_LIBDIR}")
endif()
endif()
else()
@@ -119,5 +121,11 @@ else()
)
endif()
+# install native overlay library
+install(TARGETS overlay_gl LIBRARY DESTINATION "${MUMBLE_INSTALL_LIBDIR}")
+
+# install overlay script
+install(PROGRAMS "${CMAKE_SOURCE_DIR}/scripts/mumble-overlay" DESTINATION bin)
+
# install overlay man-files
install(FILES "${CMAKE_SOURCE_DIR}/man/mumble-overlay.1" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc)