Skip to content

Commit

Permalink
Trying to fix the find for geos
Browse files Browse the repository at this point in the history
  • Loading branch information
Garrett Potts committed Nov 4, 2019
1 parent 5240a17 commit 5f991a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cmake/CMakeModules/FindGEOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@
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
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 5f991a3

Please sign in to comment.