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:
authorNik Reist <zeroability@tutanota.com>2020-06-09 09:07:35 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2020-07-12 00:33:25 +0300
commit261756a7e274c187045b2e63ca4ded6b7b676b63 (patch)
treef7ef81403239eb8bc3892e683dd3fc1c20ba2daa /plugins
parentb30ee28acb22ceafc1944e57bda23efdd353379a (diff)
Add install() directives, for "install" step and CPack
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index b61471e8e..660ba7f43 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -25,9 +25,11 @@ foreach(ITEM ${ITEMS})
# Shared library on Windows (e.g. ".dll")
set_target_properties(${ITEM} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/plugins")
+ install(TARGETS ${ITEM} RUNTIME DESTINATION ./plugins COMPONENT mumble_client)
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)
endif()
endif()
endforeach()