Skip to content
Permalink
Browse files

Added grass76 support

Added grass76 support; search for newer versions first
  • Loading branch information
neteler authored and nyalldawson committed Dec 27, 2018
1 parent 9134110 commit 5eb1853f0158ccd55dbc57a5429bd248222256d0
Showing with 4 additions and 3 deletions.
  1. +4 −3 cmake/FindGRASS.cmake
@@ -137,7 +137,7 @@ IF (UNIX)
IF (GRASS_FIND_VERSION EQUAL 6)
LIST(APPEND GRASS_PATHS /usr/lib64/grass64 /usr/lib/grass64)
ELSEIF (GRASS_FIND_VERSION EQUAL 7)
LIST(APPEND GRASS_PATHS /usr/lib64/grass70 /usr/lib/grass70 /usr/lib64/grass72 /usr/lib/grass72 /usr/lib64/grass74 /usr/lib/grass74)
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)
ENDIF ()
ENDIF (UNIX)

@@ -149,9 +149,10 @@ IF (APPLE)
)
ELSEIF (GRASS_FIND_VERSION EQUAL 7)
LIST(APPEND GRASS_PATHS
/Applications/GRASS-7.0.app/Contents/MacOS
/Applications/GRASS-7.2.app/Contents/MacOS
/Applications/GRASS-7.6.app/Contents/MacOS
/Applications/GRASS-7.4.app/Contents/MacOS
/Applications/GRASS-7.2.app/Contents/MacOS
/Applications/GRASS-7.0.app/Contents/MacOS
)
ENDIF ()
LIST(APPEND GRASS_PATHS /Applications/GRASS.app/Contents/Resources)

0 comments on commit 5eb1853

Please sign in to comment.
You can’t perform that action at this time.