summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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}