From 88897cae1d6db33ce4fbed7d667b3d2c079a257c Mon Sep 17 00:00:00 2001 From: Deve Date: Sun, 7 Jan 2018 21:23:21 +0100 Subject: [PATCH] Enable wayland for testing. It's not 100% ready yet, but some testing won't hurt. It's possible to switch between wayland/x11 using export IRR_DEVICE_TYPE=x11 or export IRR_DEVICE_TYPE=wayland so that x11 device can be forced in wayland session. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 464c0de14..6ac6bae07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,12 +28,12 @@ option(SERVER_ONLY "Create a server only (i.e. no graphics or sound)" OFF) option(USE_FRIBIDI "Support for right-to-left languages" ON) option(CHECK_ASSETS "Check if assets are installed in ../stk-assets" ON) option(USE_SYSTEM_ANGELSCRIPT "Use system angelscript instead of built-in angelscript. If you enable this option, make sure to use a compatible version." OFF) -option(ENABLE_WAYLAND_DEVICE "Enable Wayland device for linux build" OFF) CMAKE_DEPENDENT_OPTION(BUILD_RECORDER "Build opengl recorder" ON "NOT SERVER_ONLY;NOT USE_GLES2;NOT APPLE" OFF) if (UNIX AND NOT APPLE) + option(ENABLE_WAYLAND_DEVICE "Enable Wayland device for linux build" ON) option(USE_GLES2 "Use OpenGL ES2 renderer" OFF) endif()