summaryrefslogtreecommitdiffstats
path: root/plugins/mock
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-04-04 12:51:13 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-04-04 12:52:33 +0200
commit7f818c1e29d66ab335b3c232f60ae4b7899a9913 (patch)
tree3ef8798317f9974a02c25f859b63414367e0b846 /plugins/mock
parent908c0b3f9c1e8265cc4f12157c2d63de1fa1193f (diff)
downloaduca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.gz
uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.bz2
uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.xz
uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.zip
Use GNUInstallDirs to set install paths
Diffstat (limited to 'plugins/mock')
-rw-r--r--plugins/mock/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/mock/CMakeLists.txt b/plugins/mock/CMakeLists.txt
index d8f5338..48a11be 100644
--- a/plugins/mock/CMakeLists.txt
+++ b/plugins/mock/CMakeLists.txt
@@ -16,7 +16,6 @@ add_library(ucamock SHARED
target_link_libraries(ucamock uca m ${UCA_DEPS})
install(TARGETS ucamock
- ARCHIVE DESTINATION ${UCA_LIBDIR}
- LIBRARY DESTINATION ${UCA_PLUGINDIR}
- RUNTIME DESTINATION ${UCA_PLUGINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_PLUGINDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_PLUGINDIR}
COMPONENT ${UCA_CAMERA_NAME})