From 7f818c1e29d66ab335b3c232f60ae4b7899a9913 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 4 Apr 2017 12:51:13 +0200 Subject: Use GNUInstallDirs to set install paths --- plugins/mock/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/mock/CMakeLists.txt') 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}) -- cgit v1.2.3