--- Utilities/gdcmjpeg/CMakeLists.txt.orig	2012-09-19 15:48:46.000000000 +0200
+++ Utilities/gdcmjpeg/CMakeLists.txt	2012-09-19 15:49:31.000000000 +0200
@@ -23,7 +23,7 @@
 ENDIF(NOT DEFINED JPEG_API_VERSION)
 SET(JPEG_LIBRARY_PROPERTIES ${JPEG_LIBRARY_PROPERTIES}
   VERSION "${GDCM_VERSION}"
-  SOVERSION "${JPEG_API_VERSION}"
+  SOVERSION "${GDCM_MAJOR_VERSION}"
 )
 
 
