aboutsummaryrefslogtreecommitdiff
path: root/cmake/platform/linux/gbm.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platform/linux/gbm.cmake')
-rw-r--r--cmake/platform/linux/gbm.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/platform/linux/gbm.cmake b/cmake/platform/linux/gbm.cmake
index 75b23f3e2a..fa24fe400d 100644
--- a/cmake/platform/linux/gbm.cmake
+++ b/cmake/platform/linux/gbm.cmake
@@ -13,5 +13,4 @@ else()
message(SEND_ERROR "You need to decide whether you want to use GL- or GLES-based rendering in combination with the GBM windowing system. Please set GBM_RENDER_SYSTEM to either \"gl\" or \"gles\". For normal desktop systems, you will usually want to use \"gl\".")
endif()
-# __GBM__ is needed by eglplatform.h in case it is included before gbm.h
-list(APPEND PLATFORM_DEFINES -DMESA_EGL_NO_X11_HEADERS -DEGL_NO_X11 -D__GBM__=1 -DPLATFORM_SETTINGS_FILE=gbm.xml)
+list(APPEND PLATFORM_DEFINES -DPLATFORM_SETTINGS_FILE=gbm.xml)