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:
authorRobert <krzmbrzl@gmail.com>2020-09-11 18:17:44 +0300
committerRobert <krzmbrzl@gmail.com>2020-09-11 19:27:32 +0300
commitea63d4f1978ca20339c8e7d336adac05d1b33afb (patch)
tree72a979e89821ee34571143581eb7caaa2df98fff /plugins
parentd5a059f13abfdcdd6e7143d77370e4a156894789 (diff)
BUILD(cmake): Fix plugins install directory
Mumble usually ships with all its plugins in /usr/lib/mumble/* but the new make install target installs them directly into /usr/lib/*. This however can lead to certain files being overwritten. Therefore these paths are changed in order to install these libraries into /usr/lib/mumble/* again. Fixes #4477
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 660ba7f43..223f63c72 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -29,7 +29,7 @@ foreach(ITEM ${ITEMS})
else()
# Shared library on UNIX (e.g. ".so")
set_target_properties(${ITEM} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/plugins")
- install(TARGETS ${ITEM} LIBRARY DESTINATION lib/plugins COMPONENT mumble_client)
+ install(TARGETS ${ITEM} LIBRARY DESTINATION "${MUMBLE_INSTALL_LIBDIR}/plugins" COMPONENT mumble_client)
endif()
endif()
endforeach()