--- libvmime/CMakeLists.txt.orig	2014-07-26 22:17:51.959600000 +0400
+++ libvmime/CMakeLists.txt	2014-07-26 22:18:33.190400000 +0400
@@ -125,6 +125,9 @@
 	SET_TARGET_PROPERTIES(
 		${VMIME_LIBRARY_NAME}
 		PROPERTIES
+		OUTPUT_NAME ${VMIME_LIBRARY_NAME}
+		RUNTIME_OUTPUT_NAME ${VMIME_LIBRARY_NAME}-${VMIME_API_VERSION_CURRENT}
+		ARCHIVE_OUTPUT_NAME ${VMIME_LIBRARY_NAME}
 		VERSION    "${VMIME_API_VERSION}"
 		SOVERSION  "${VMIME_API_VERSION_CURRENT}"
 		COMPILE_FLAGS -DVMIME_SHARED
