summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/file/CMakeLists.txt5
-rw-r--r--plugins/mock/CMakeLists.txt5
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})