--- a/external/mudpack/CMakeLists.txt
+++ b/external/mudpack/CMakeLists.txt
@@ -12,7 +12,11 @@
 endif()
 
 if(WITH_API OR BUILD_SHARED_LIBS)
-  install(TARGETS mudpack DESTINATION "${CMAKE_INSTALL_LIBDIR}" EXPORT dftbplus-targets)
+  install(TARGETS mudpack
+    EXPORT dftbplus-targets
+    RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+    ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+    LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
 endif()
 
 list(APPEND PKG_CONFIG_LIBS mudpack)
--- a/src/dftbp/CMakeLists.txt
+++ b/src/dftbp/CMakeLists.txt
@@ -154,8 +154,11 @@
 # Installation
 
 if(WITH_API OR BUILD_SHARED_LIBS)
-  install(TARGETS dftbplus DESTINATION "${CMAKE_INSTALL_LIBDIR}"
-    EXPORT dftbplus-targets)
+  install(TARGETS dftbplus
+    EXPORT dftbplus-targets
+    RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+    ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+    LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
 endif()
 
 if(INSTALL_INCLUDE_FILES)
