cmake: SOVERSION change to 1 (from 1.4) to match auto-tools build
authorRex Dieter <rdieter@gmail.com>
Tue, 18 Jan 2011 17:23:04 +0000 (17:23 +0000)
committerRex Dieter <rdieter@gmail.com>
Tue, 18 Jan 2011 17:23:04 +0000 (17:23 +0000)
CHANGES
CMakeLists.txt

diff --git a/CHANGES b/CHANGES
index 3bbd2847481d6bd0ec238f17445bc90cd11a7fec..54e7628fa674b1ab5be159ef0c0389f18b353d1f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,9 @@ What's New for OpenJPEG
 ! : changed
 + : added
 
+January 18, 2001
+! [rdieter] cmake: SOVERSION change to 1 (from 1.4) to match auto-tools
+
 January 17, 2011
 - [rdieter] remove generated files (ticket 52)
 
index 4df951a319aa74947e295cc3671429c6685ac623..c2137930a311adce2773f5226c7888fc448f76f3 100644 (file)
@@ -34,11 +34,9 @@ SET(OPENJPEG_VERSION
   "${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}.${OPENJPEG_VERSION_BUILD}")
 SET(PACKAGE_VERSION
   "${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}.${OPENJPEG_VERSION_BUILD}")
-# This setting of SOVERSION assumes that any API change
-# will increment either the minor or major version number of openjpeg
 SET(OPENJPEG_LIBRARY_PROPERTIES
   VERSION   "${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}.${OPENJPEG_VERSION_BUILD}"
-  SOVERSION "${OPENJPEG_VERSION_MAJOR}.${OPENJPEG_VERSION_MINOR}"
+  SOVERSION "${OPENJPEG_VERSION_MAJOR}"
 )
 # You will also need to define a value for the following variables:
 # OPENJPEG_INSTALL_BIN_DIR          - binary dir (executables)