--- qxmpp-1.0.0/src/CMakeLists.txt.orig	2019-01-10 09:58:04.471596900 +0300
+++ qxmpp-1.0.0/src/CMakeLists.txt	2019-01-10 10:00:35.732863700 +0300
@@ -220,8 +220,10 @@
 
 install(
     TARGETS qxmpp
-    DESTINATION "${CMAKE_INSTALL_LIBDIR}"
     EXPORT QXmppTarget
+    ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+    LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+    RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
 )
 
 install(