Skip to content
Permalink
Browse files

[GRASS] cmake fix

  • Loading branch information
blazek committed Oct 18, 2015
1 parent c373d7b commit e37ae8bad0dfc7f3d3d20a339f885d7f3f7153c2
Showing with 3 additions and 1 deletion.
  1. +3 −1 cmake/FindGRASS.cmake
@@ -78,7 +78,9 @@ MACRO (CHECK_GRASS G_PREFIX)
ERROR_VARIABLE GRASS_TMP_ERROR
OUTPUT_VARIABLE GRASS_OFF_T_SIZE${GRASS_FIND_VERSION}
)
STRING(STRIP ${GRASS_OFF_T_SIZE${GRASS_FIND_VERSION}} GRASS_OFF_T_SIZE${GRASS_FIND_VERSION})
IF ( NOT ${GRASS_OFF_T_SIZE${GRASS_FIND_VERSION}} STREQUAL "" )
STRING(STRIP ${GRASS_OFF_T_SIZE${GRASS_FIND_VERSION}} GRASS_OFF_T_SIZE${GRASS_FIND_VERSION})
ENDIF()
#MESSAGE(STATUS "GRASS_OFF_T_SIZE${GRASS_FIND_VERSION} = ${GRASS_OFF_T_SIZE${GRASS_FIND_VERSION}}")
ENDIF( (GRASS_MAJOR_VERSION${GRASS_FIND_VERSION} EQUAL 7) AND (GRASS_MINOR_VERSION${GRASS_FIND_VERSION} GREATER 0) )

0 comments on commit e37ae8b

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