aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authoryol <yol@casix.org>2019-11-17 23:17:34 +0000
committerGitHub <noreply@github.com>2019-11-17 23:17:34 +0000
commit667fa855c5fa88850287764c0b7f6fd943a35244 (patch)
treecb63a05e9a06fab81d2279fdbeb4fda3709f1613 /tools
parent049d604f34d4d31808a63e9934c28a67b4b8dffe (diff)
parent1c91a4024388a78eef878674099eebaa3b7ed528 (diff)
Merge pull request #16510 from stsichler/master-feature-x11gles
Resurrection of X11/GLES support
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/Toolchain.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/depends/target/Toolchain.cmake.in b/tools/depends/target/Toolchain.cmake.in
index 79a0493be6..df2338075b 100644
--- a/tools/depends/target/Toolchain.cmake.in
+++ b/tools/depends/target/Toolchain.cmake.in
@@ -18,9 +18,11 @@ if(OS STREQUAL linux)
set(CORE_PLATFORM_NAME @target_platform@)
endif()
if(NOT "@app_rendersystem@" STREQUAL "")
+ set(X11_RENDER_SYSTEM @app_rendersystem@ CACHE STRING "Render system to use with X11: \"gl\" or \"gles\"")
set(WAYLAND_RENDER_SYSTEM @app_rendersystem@ CACHE STRING "Render system to use with Wayland: \"gl\" or \"gles\"")
set(GBM_RENDER_SYSTEM @app_rendersystem@ CACHE STRING "Render system to use with GBM: \"gl\" or \"gles\"")
else()
+ set(X11_RENDER_SYSTEM gl CACHE STRING "Render system to use with X11: \"gl\" or \"gles\"")
set(WAYLAND_RENDER_SYSTEM gl CACHE STRING "Render system to use with Wayland: \"gl\" or \"gles\"")
set(GBM_RENDER_SYSTEM gles CACHE STRING "Render system to use with GBM: \"gl\" or \"gles\"")
endif()