--- openjpeg-1.5.2/libopenjpeg/CMakeLists.txt.orig	2014-04-17 09:44:38.551800000 +0400
+++ openjpeg-1.5.2/libopenjpeg/CMakeLists.txt	2014-04-17 09:44:53.559000000 +0400
@@ -38,7 +38,7 @@
 IF(UNIX)
   TARGET_LINK_LIBRARIES(${OPENJPEG_LIBRARY_NAME} m)
 ENDIF(UNIX)
-SET_TARGET_PROPERTIES(${OPENJPEG_LIBRARY_NAME} PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
+SET_TARGET_PROPERTIES(${OPENJPEG_LIBRARY_NAME} PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES} OUTPUT_NAME openjpeg RUNTIME_OUTPUT_NAME openjpeg-${OPENJPEG_SOVERSION} ARCHIVE_OUTPUT_NAME openjpeg)
 
 # Build the JPWL library ?
 IF(BUILD_JPWL)
