[sword-svn] r2544 - trunk

greg.hellings at crosswire.org greg.hellings at crosswire.org
Mon Aug 30 14:30:24 MST 2010


Author: greg.hellings
Date: 2010-08-30 14:30:23 -0700 (Mon, 30 Aug 2010)
New Revision: 2544

Modified:
   trunk/CMakeLists.txt
Log:
Merging in changes from Dmitrijs Ledkovs to allow setting of the SOVERSION.


Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2010-08-27 07:49:47 UTC (rev 2543)
+++ trunk/CMakeLists.txt	2010-08-30 21:30:23 UTC (rev 2544)
@@ -90,6 +90,14 @@
 #	MESSAGE(ERROR "Please set library build type to either 'Static' or 'Shared'")
 ENDIF(LIBSWORD_LIBRARY_TYPE STREQUAL "Shared")
 
+IF(NOT LIBSWORD_SOVERSION)
+        SET(SWORD_SOVERSION ${SWORD_VERSION})
+ELSE(NOT LIBSWORD_SOVERSION)
+        SET(SWORD_SOVERSION ${LIBSWORD_SOVERSION})
+ENDIF(NOT LIBSWORD_SOVERSION)
+SET_TARGET_PROPERTIES(sword
+        PROPERTIES SOVERSION ${SWORD_SOVERSION})
+
 ###############################################################################################
 # Some options are only needed if we're going to be building a debug option into the library
 # These are generally only for developer building and testing




More information about the sword-cvs mailing list