Skip to content
Permalink
Browse files

[FreeBSD] GRASS inverse searching order

+1 with @neteler
"start with searching the newest GRASS GIS version first"
#9174 (comment)

cc  @rhurlin
  • Loading branch information
lbartoletti authored and nyalldawson committed Feb 20, 2019
1 parent 7599d4f commit 8c18a5c8f9c95b0d8ec68add264e2b1e5f39eb91
Showing with 2 additions and 2 deletions.
  1. +2 −2 cmake/FindGRASS.cmake
@@ -160,8 +160,8 @@ ENDIF (WIN32)
IF (UNIX)
IF (GRASS_FIND_VERSION EQUAL 7)
IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
FOREACH (VERSION_MINOR 0 1 2 3 4 5 6)
FOREACH (VERSION_BUILD 0 1 2 3 4 5 6)
FOREACH (VERSION_MINOR 9 8 7 6 5 4 3 2 1 0)
FOREACH (VERSION_BUILD 9 8 7 6 5 4 3 2 1 0)
LIST (APPEND GRASS_PATHS /usr/local/grass-${GRASS_FIND_VERSION}.${VERSION_MINOR}.${VERSION_BUILD})
ENDFOREACH (VERSION_BUILD)
ENDFOREACH(VERSION_MINOR)

0 comments on commit 8c18a5c

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