diff options
author | Nik Reist <zeroability@tutanota.com> | 2020-06-09 09:07:35 +0300 |
---|---|---|
committer | Davide Beatrici <git@davidebeatrici.dev> | 2020-07-12 00:33:25 +0300 |
commit | 261756a7e274c187045b2e63ca4ded6b7b676b63 (patch) | |
tree | f7ef81403239eb8bc3892e683dd3fc1c20ba2daa /plugins | |
parent | b30ee28acb22ceafc1944e57bda23efdd353379a (diff) |
Add install() directives, for "install" step and CPack
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CMakeLists.txt | 2 |
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() |