Index: modules/FindKDE4Internal.cmake
===================================================================
--- modules/FindKDE4Internal.cmake	(revision 687968)
+++ modules/FindKDE4Internal.cmake	(working copy)
@@ -193,6 +193,11 @@
 # KDE4_INSTALL_HANDBOOK()
 #   Install the handbook documentation
 #
+# KDE4_INSTALL_LIBRARY( lib )
+#   Installs lib into LIB_INSTALL_DIR. Use this for libraries, wich are expected to get automatically
+#   linked in on application start.
+#   This macro takes care to install dlls into BIN_INSTALL_DIR on the Windows platform.
+#
 # KDE4_CREATE_HTML_HANDBOOK( docbookfile )
 #   Create HTML version of the handbook from the docbookfile (using meinproc)
 #
Index: modules/KDE4Macros.cmake
===================================================================
--- modules/KDE4Macros.cmake	(revision 687968)
+++ modules/KDE4Macros.cmake	(working copy)
@@ -884,3 +884,12 @@
     install_xdg_mimetypes(${CMAKE_INSTALL_PREFIX} ${ARGN})
 
 endmacro (KDE4_INSTALL_XDG_MIMETYPES)
+
+macro (KDE4_INSTALL_LIBRARY _lib)
+    install(TARGETS ${_lib}
+             RUNTIME DESTINATION ${BIN_INSTALL_DIR}
+             LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+             ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+    )
+endmacro(KDE4_INSTALL_LIBRARY)
+
