Rex Dieter e5f144c
From 88a8ad2ed84360f31a51c1400c84567bb20799ac Mon Sep 17 00:00:00 2001
Rex Dieter e5f144c
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
Rex Dieter e5f144c
Date: Thu, 29 May 2014 01:39:50 +0200
Rex Dieter e5f144c
Subject: [PATCH 7/9] Use PRISON_VERSION_MAJOR for SOVERSION
Rex Dieter e5f144c
Rex Dieter e5f144c
CCMAIL: montel@kde.org
Rex Dieter e5f144c
---
Rex Dieter e5f144c
 lib/prison/CMakeLists.txt | 2 +-
Rex Dieter e5f144c
 1 file changed, 1 insertion(+), 1 deletion(-)
Rex Dieter e5f144c
Rex Dieter e5f144c
diff --git a/lib/prison/CMakeLists.txt b/lib/prison/CMakeLists.txt
Rex Dieter e5f144c
index 6560db6..57f350a 100644
Rex Dieter e5f144c
--- a/lib/prison/CMakeLists.txt
Rex Dieter e5f144c
+++ b/lib/prison/CMakeLists.txt
Rex Dieter e5f144c
@@ -28,7 +28,7 @@ SET(    prison_SRC
Rex Dieter e5f144c
 add_library(prison SHARED ${prison_SRC})
Rex Dieter e5f144c
 target_link_libraries(prison ${DMTX_LIBRARIES} ${QRENCODE_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
Rex Dieter e5f144c
 
Rex Dieter e5f144c
-set_target_properties(prison PROPERTIES VERSION "${PRISON_VERSION_STRING}" SOVERSION "${PRISON_VERSION_PATCH}" LINK_INTERFACE_LIBRARIES "" DEFINE_SYMBOL BUILDING_PRISON)
Rex Dieter e5f144c
+set_target_properties(prison PROPERTIES VERSION "${PRISON_VERSION_STRING}" SOVERSION "${PRISON_VERSION_MAJOR}" LINK_INTERFACE_LIBRARIES "" DEFINE_SYMBOL BUILDING_PRISON)
Rex Dieter e5f144c
 
Rex Dieter e5f144c
 set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
Rex Dieter e5f144c
 
Rex Dieter e5f144c
-- 
Rex Dieter e5f144c
2.5.0
Rex Dieter e5f144c