From 5720d2d8a15d72257c1d073fae6e51e1222b650d Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 18 May 2017 14:55:19 +0200 Subject: Install runtime things only on Windows --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e5c4ab7..1ddf5b0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -114,8 +114,13 @@ endif() #{{{ Installation install(TARGETS uca LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + COMPONENT libraries) + +if(WIN32) +install(TARGETS uca RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT libraries) +endif() install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libuca.pc DESTINATION ${CMAKE_INSTALL_PKGCONFIGDIR} -- cgit v1.2.3