diff options
author | Robert <krzmbrzl@gmail.com> | 2020-09-23 13:04:01 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2020-10-24 16:57:01 +0300 |
commit | b9b41621c5916f15580813ca84774828835a37dc (patch) | |
tree | f6862ac97eb99dc8ba3fe6632bbe37585c90eea5 /plugins | |
parent | e0fe7dca1de995b5908d07968c319ea893f1d7d4 (diff) |
BUILD(cmake): Revamp install paths
Installation paths can now be fine-tuned by setting the respective
MUMBLE_INSTALLATION_* variables when invoking cmake.
Additionally some components that only had install rules for a certain
OS are now installed on all OSes as these components should be needed
there as well.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 223f63c72..4e540a536 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -25,11 +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) + install(TARGETS ${ITEM} RUNTIME DESTINATION "${MUMBLE_INSTALL_PLUGINDIR}" 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 "${MUMBLE_INSTALL_LIBDIR}/plugins" COMPONENT mumble_client) + install(TARGETS ${ITEM} LIBRARY DESTINATION "${MUMBLE_INSTALL_PLUGINDIR}" COMPONENT mumble_client) endif() endif() endforeach() |