Skip to content
Permalink
Browse files
QgsGeometry migrated to GEOS C-API
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9093 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 20, 2008
1 parent 87d9cb9 commit 2fb8915b49e55a8fc732b4476d03e1c4770cfffa
Showing with 1,146 additions and 1,283 deletions.
  1. +4 −4 cmake/FindGEOS.cmake
  2. +1,123 −1,250 src/core/qgsgeometry.cpp
  3. +19 −29 src/core/qgsgeometry.h
@@ -13,21 +13,21 @@
# and then again with no specified paths to search the default
# locations. When an earlier FIND_* succeeds, subsequent FIND_*s
# searching for the same item do nothing.
FIND_PATH(GEOS_INCLUDE_DIR geos.h
FIND_PATH(GEOS_INCLUDE_DIR geos_c.h
"$ENV{LIB_DIR}/include"
#mingw
c:/msys/local/include
NO_DEFAULT_PATH
)
FIND_PATH(GEOS_INCLUDE_DIR geos.h)
FIND_PATH(GEOS_INCLUDE_DIR geos_c.h)

FIND_LIBRARY(GEOS_LIBRARY NAMES geos PATHS
FIND_LIBRARY(GEOS_LIBRARY NAMES geos_c PATHS
"$ENV{LIB_DIR}/lib"
#mingw
c:/msys/local/lib
NO_DEFAULT_PATH
)
FIND_LIBRARY(GEOS_LIBRARY NAMES geos)
FIND_LIBRARY(GEOS_LIBRARY NAMES geos_c)

IF (GEOS_INCLUDE_DIR AND GEOS_LIBRARY)
SET(GEOS_FOUND TRUE)

0 comments on commit 2fb8915

Please sign in to comment.