aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2020-10-07 14:37:01 -0700
committerLukas Rusak <lorusak@gmail.com>2020-10-27 08:21:36 -0700
commitffb5ec80e5a15c0995b928261956eec887518baa (patch)
treeb86c8d019bfd67b070c96d288131f1732a1ff012 /tools
parentd159837cf736c9ba17772ba52e4ce95aa3625528 (diff)
tools/depends: remove X11/WAYLAND/GBM_RENDER_SYSTEM from Toolchain.cmake.in
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/Toolchain.cmake.in10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/depends/target/Toolchain.cmake.in b/tools/depends/target/Toolchain.cmake.in
index 8786f52f7e..883b021631 100644
--- a/tools/depends/target/Toolchain.cmake.in
+++ b/tools/depends/target/Toolchain.cmake.in
@@ -11,14 +11,8 @@ if(OS STREQUAL linux)
set(CMAKE_SYSTEM_NAME Linux)
set(CORE_SYSTEM_NAME linux)
set(CORE_PLATFORM_NAME @target_platform@)
- 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\"")
+ if("@app_rendersystem@" STREQUAL "")
+ set(APP_RENDER_SYSTEM gl CACHE STRING "Render system to use: \"gl\" or \"gles\"")
endif()
elseif(OS STREQUAL android)
set(CMAKE_SYSTEM_NAME Android)