Skip to content

Commit ebb2a8e

Browse files
author
oscarkramer
committed
Merge branch 'dev' of github.com:ossimlabs/ossim into dev
2 parents f5d6f35 + 1c128e7 commit ebb2a8e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

cmake/CMakeModules/FindGEOS.cmake

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,19 @@
2727
# Instead looking for Geometry.h
2828
#---
2929

30-
find_path( GEOS_INCLUDE_DIR geos/geom/Geometry.h
30+
find_path( GEOS_INCLUDE_DIR geos_c.h
3131
PATHS
3232
$ENV{GEOS_DIR}/include
33-
${GEOS_DIR}/include)
33+
${GEOS_DIR}/include
34+
/usr/local/include)
3435

3536
# Find GEOS library:
36-
find_library( GEOS_LIB NAMES geos
37+
find_library( GEOS_LIB NAMES geos_c
3738
PATHS
3839
$ENV{GEOS_DIR}/lib
39-
${GEOS_DIR}/lib)
40+
${GEOS_DIR}/lib
41+
/usr/local/lib
42+
/usr/local/lib64)
4043

4144
# Find GEOS C library:
4245
find_library( GEOS_C_LIB NAMES geos_c

0 commit comments

Comments
 (0)