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/file/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/file') 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 () -- cgit v1.2.3