diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-04-04 12:51:13 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-04-04 12:52:33 +0200 |
commit | 7f818c1e29d66ab335b3c232f60ae4b7899a9913 (patch) | |
tree | 3ef8798317f9974a02c25f859b63414367e0b846 /plugins | |
parent | 908c0b3f9c1e8265cc4f12157c2d63de1fa1193f (diff) | |
download | uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.gz uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.bz2 uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.tar.xz uca-7f818c1e29d66ab335b3c232f60ae4b7899a9913.zip |
Use GNUInstallDirs to set install paths
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/file/CMakeLists.txt | 5 | ||||
-rw-r--r-- | plugins/mock/CMakeLists.txt | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/plugins/file/CMakeLists.txt b/plugins/file/CMakeLists.txt index 8d45944..6874168 100644 --- a/plugins/file/CMakeLists.txt +++ b/plugins/file/CMakeLists.txt @@ -21,8 +21,7 @@ if (TIFF_FOUND) target_link_libraries(ucafile uca ${UCA_DEPS} ${TIFF_LIBRARIES}) install(TARGETS ucafile - 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}) endif () 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}) |