Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:ossimlabs/ossim into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarkramer committed Nov 15, 2019
2 parents f5d6f35 + 1c128e7 commit ebb2a8e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions cmake/CMakeModules/FindGEOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,19 @@
# Instead looking for Geometry.h
#---

find_path( GEOS_INCLUDE_DIR geos/geom/Geometry.h
find_path( GEOS_INCLUDE_DIR geos_c.h
PATHS
$ENV{GEOS_DIR}/include
${GEOS_DIR}/include)
${GEOS_DIR}/include
/usr/local/include)

# Find GEOS library:
find_library( GEOS_LIB NAMES geos
find_library( GEOS_LIB NAMES geos_c
PATHS
$ENV{GEOS_DIR}/lib
${GEOS_DIR}/lib)
${GEOS_DIR}/lib
/usr/local/lib
/usr/local/lib64)

# Find GEOS C library:
find_library( GEOS_C_LIB NAMES geos_c
Expand Down

0 comments on commit ebb2a8e

Please sign in to comment.