[geos-commits] r3639 - trunk/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Wed May 23 20:21:11 EDT 2012


Author: mloskot
Date: 2012-05-23 17:21:11 -0700 (Wed, 23 May 2012)
New Revision: 3639

Modified:
   trunk/capi/CMakeLists.txt
Log:
[CMake] Link GEOS C-API library against geos.dll instead of static geos.lib to avoid breaking ODR for allocators.

Modified: trunk/capi/CMakeLists.txt
===================================================================
--- trunk/capi/CMakeLists.txt	2012-05-23 23:53:00 UTC (rev 3638)
+++ trunk/capi/CMakeLists.txt	2012-05-24 00:21:11 UTC (rev 3639)
@@ -25,7 +25,7 @@
   # if building OS X framework, CAPI built into C++ library 
   add_library(geos_c SHARED ${geos_c_SOURCES}) 
 
-  target_link_libraries(geos_c geos-static)
+  target_link_libraries(geos_c geos)
 
   # TODO: Enable SOVERSION property
   set_target_properties(geos_c



More information about the geos-commits mailing list