Skip to content
Permalink
Browse files

add definitions for qtermwidget on osx, fix for #13277

  • Loading branch information
blazek committed Aug 27, 2015
1 parent bea14e3 commit cee794a4c68a12ab674ff4edf45cd37348b5e6a2
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/plugins/grass/CMakeLists.txt
@@ -126,6 +126,15 @@ IF(NOT WIN32)
)
ENDIF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")

IF (APPLE)
ADD_DEFINITIONS(-DHAVE_UTMPX -D_UTMPX_COMPAT)
ENDIF(APPLE)
CHECK_FUNCTION_EXISTS(updwtmpx HAVE_UPDWTMPX)
IF(HAVE_UPDWTMPX)
ADD_DEFINITIONS(-DHAVE_UPDWTMPX)
ENDIF(HAVE_UPDWTMPX)


SET(KB_LAYOUT_DIR "${QGIS_DATA_DIR}/grass/qtermwidget/kb-layouts")
ADD_DEFINITIONS(-DKB_LAYOUT_DIR=\\\"${CMAKE_INSTALL_PREFIX}/${KB_LAYOUT_DIR}\\\")

0 comments on commit cee794a

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