Skip to content

Commit 5eb1853

Browse files
netelernyalldawson
authored andcommittedDec 27, 2018
Added grass76 support
Added grass76 support; search for newer versions first
1 parent 9134110 commit 5eb1853

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎cmake/FindGRASS.cmake

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ IF (UNIX)
137137
IF (GRASS_FIND_VERSION EQUAL 6)
138138
LIST(APPEND GRASS_PATHS /usr/lib64/grass64 /usr/lib/grass64)
139139
ELSEIF (GRASS_FIND_VERSION EQUAL 7)
140-
LIST(APPEND GRASS_PATHS /usr/lib64/grass70 /usr/lib/grass70 /usr/lib64/grass72 /usr/lib/grass72 /usr/lib64/grass74 /usr/lib/grass74)
140+
LIST(APPEND GRASS_PATHS /usr/lib64/grass76 /usr/lib/grass76 /usr/lib64/grass74 /usr/lib/grass74 /usr/lib64/grass72 /usr/lib/grass72 /usr/lib64/grass70 /usr/lib/grass70)
141141
ENDIF ()
142142
ENDIF (UNIX)
143143

@@ -149,9 +149,10 @@ IF (APPLE)
149149
)
150150
ELSEIF (GRASS_FIND_VERSION EQUAL 7)
151151
LIST(APPEND GRASS_PATHS
152-
/Applications/GRASS-7.0.app/Contents/MacOS
153-
/Applications/GRASS-7.2.app/Contents/MacOS
152+
/Applications/GRASS-7.6.app/Contents/MacOS
154153
/Applications/GRASS-7.4.app/Contents/MacOS
154+
/Applications/GRASS-7.2.app/Contents/MacOS
155+
/Applications/GRASS-7.0.app/Contents/MacOS
155156
)
156157
ENDIF ()
157158
LIST(APPEND GRASS_PATHS /Applications/GRASS.app/Contents/Resources)

0 commit comments

Comments
 (0)
Please sign in to comment.