[geos-commits] r3383 - trunk/src

svn_geos at osgeo.org svn_geos at osgeo.org
Mon May 30 06:30:46 EDT 2011


Author: mloskot
Date: 2011-05-30 03:30:46 -0700 (Mon, 30 May 2011)
New Revision: 3383

Modified:
   trunk/src/CMakeLists.txt
Log:
Applied William\'s patch with missing library versions for OSX framework (Ticket #385)

Modified: trunk/src/CMakeLists.txt
===================================================================
--- trunk/src/CMakeLists.txt	2011-05-30 09:41:41 UTC (rev 3382)
+++ trunk/src/CMakeLists.txt	2011-05-30 10:30:46 UTC (rev 3383)
@@ -25,10 +25,15 @@
     ${CMAKE_CURRENT_SOURCE_DIR}/../capi/geos_ts_c.cpp)
 
   add_library(GEOS SHARED ${geos_SOURCES} ${geos_c_SOURCES})
+
+  math(EXPR CVERSION "${VERSION_MAJOR} + 1") 
+ 	# VERSION = current version, SOVERSION = compatibility version 
   set_target_properties(GEOS
     PROPERTIES
     CLEAN_DIRECT_OUTPUT 1
     FRAMEWORK 1
+    VERSION "${CVERSION}.${VERSION_MINOR}.${VERSION_PATCH}" 
+ 	  SOVERSION ${CVERSION} 
     FRAMEWORK_VERSION ${VERSION_MAJOR}
     MACOSX_FRAMEWORK_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in"
     MACOSX_FRAMEWORK_BUNDLE_VERSION "GEOS ${VERSION}"



More information about the geos-commits mailing list