From b17cc12dc335d2357141fd27613b7a49ecdfd670 Mon Sep 17 00:00:00 2001 From: Marius Elvert Date: Fri, 16 Dec 2016 11:14:42 +0100 Subject: Install plugin .dll files in plugin directory --- plugins/file/CMakeLists.txt | 3 ++- plugins/mock/CMakeLists.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/file/CMakeLists.txt b/plugins/file/CMakeLists.txt index 741ac56..8d45944 100644 --- a/plugins/file/CMakeLists.txt +++ b/plugins/file/CMakeLists.txt @@ -21,7 +21,8 @@ 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_BINDIR} + RUNTIME DESTINATION ${UCA_PLUGINDIR} COMPONENT ${UCA_CAMERA_NAME}) endif () diff --git a/plugins/mock/CMakeLists.txt b/plugins/mock/CMakeLists.txt index a53c071..d8f5338 100644 --- a/plugins/mock/CMakeLists.txt +++ b/plugins/mock/CMakeLists.txt @@ -16,6 +16,7 @@ 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_BINDIR} + RUNTIME DESTINATION ${UCA_PLUGINDIR} COMPONENT ${UCA_CAMERA_NAME}) -- cgit v1.2.3