Skip to content

Commit 00ca017

Browse files
committedAug 30, 2014
Fix GEOS dev detection (fixes #11081)
1 parent ce28dac commit 00ca017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎cmake/FindGEOS.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ ENDIF(WIN32)
158158

159159
IF(GEOS_INCLUDE_DIR AND NOT GEOS_VERSION)
160160
FILE(READ ${GEOS_INCLUDE_DIR}/geos_c.h VERSIONFILE)
161-
STRING(REGEX MATCH "#define GEOS_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\"" GEOS_VERSION ${VERSIONFILE})
161+
STRING(REGEX MATCH "#define GEOS_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+(dev)?\"" GEOS_VERSION ${VERSIONFILE})
162162
STRING(REGEX MATCH "[0-9]+\\.[0-9]\\.[0-9]+" GEOS_VERSION ${GEOS_VERSION})
163163
ENDIF(GEOS_INCLUDE_DIR AND NOT GEOS_VERSION)
164164

0 commit comments

Comments
 (0)
Please sign in to comment.