Skip to content

Commit f33f238

Browse files
authoredDec 27, 2018
Merge pull request #8743 from neteler/patch-76
Added grass76 support
2 parents 6ce09d8 + 45434a5 commit f33f238

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎cmake/FindGRASS.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ IF (UNIX)
167167
ENDFOREACH(VERSION_MINOR)
168168
ELSE (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
169169
FOREACH (PATH /usr/lib64 /usr/lib)
170-
FOREACH (VERSION grass70, grass72, grass74)
170+
FOREACH (VERSION grass76, grass74, grass72, grass70)
171171
LIST(APPEND GRASS_PATHS "${PATH}/${VERSION}")
172172
ENDFOREACH (VERSION)
173173
ENDFOREACH (PATH)
@@ -178,10 +178,10 @@ ENDIF (UNIX)
178178
IF (APPLE)
179179
IF (GRASS_FIND_VERSION EQUAL 7)
180180
LIST(APPEND GRASS_PATHS
181-
/Applications/GRASS-7.0.app/Contents/MacOS
182-
/Applications/GRASS-7.1.app/Contents/MacOS
183-
/Applications/GRASS-7.2.app/Contents/MacOS
181+
/Applications/GRASS-7.6.app/Contents/MacOS
184182
/Applications/GRASS-7.4.app/Contents/MacOS
183+
/Applications/GRASS-7.2.app/Contents/MacOS
184+
/Applications/GRASS-7.0.app/Contents/MacOS
185185
)
186186
ENDIF ()
187187
LIST(APPEND GRASS_PATHS /Applications/GRASS.app/Contents/Resources)

0 commit comments

Comments
 (0)
Please sign in to comment.