From ad6d2550d0e728a2927270721ebcd62671f1f0aa Mon Sep 17 00:00:00 2001 From: Sai Sasidhar Maddali Date: Wed, 10 Feb 2016 14:38:34 +0100 Subject: ADD: Runtime installation target for Windows --- plugins/mock/CMakeLists.txt | 1 + src/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/mock/CMakeLists.txt b/plugins/mock/CMakeLists.txt index 5cb1067..a53c071 100644 --- a/plugins/mock/CMakeLists.txt +++ b/plugins/mock/CMakeLists.txt @@ -17,4 +17,5 @@ target_link_libraries(ucamock uca m ${UCA_DEPS}) install(TARGETS ucamock LIBRARY DESTINATION ${UCA_PLUGINDIR} + RUNTIME DESTINATION ${UCA_BINDIR} COMPONENT ${UCA_CAMERA_NAME}) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d8af907..eab0f9c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -114,6 +114,7 @@ endif() #{{{ Installation install(TARGETS uca LIBRARY DESTINATION ${UCA_LIBDIR} + RUNTIME DESTINATION ${UCA_BINDIR} COMPONENT libraries) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libuca.pc -- cgit v1.2.3