summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-05-18 14:55:19 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-05-18 14:55:19 +0200
commit5720d2d8a15d72257c1d073fae6e51e1222b650d (patch)
treec23fb18612a742b454924121e269800e8bed3df9
parent4ac364301b1089e92849b1e1550a2d46ff48a9ad (diff)
downloaduca-5720d2d8a15d72257c1d073fae6e51e1222b650d.tar.gz
uca-5720d2d8a15d72257c1d073fae6e51e1222b650d.tar.bz2
uca-5720d2d8a15d72257c1d073fae6e51e1222b650d.tar.xz
uca-5720d2d8a15d72257c1d073fae6e51e1222b650d.zip
Install runtime things only on Windows
-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}