summarylogtreecommitdiffstats
path: root/removestupidremarks.patch
diff options
context:
space:
mode:
authoregnappahz2020-11-01 12:38:35 +0100
committeregnappahz2020-11-01 12:38:35 +0100
commitc8cd4070a964179ab83db61a0ea5e8952adf36b5 (patch)
treeac31a61b1402add772a43e63f7b457f3a2253fe7 /removestupidremarks.patch
parente9d522a4a3415bb334f06ad25d18e56acbf4e165 (diff)
downloadaur-c8cd4070a964179ab83db61a0ea5e8952adf36b5.tar.gz
Updated
Diffstat (limited to 'removestupidremarks.patch')
-rw-r--r--removestupidremarks.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/removestupidremarks.patch b/removestupidremarks.patch
new file mode 100644
index 00000000000..ffa463c3e4b
--- /dev/null
+++ b/removestupidremarks.patch
@@ -0,0 +1,15 @@
+diff --git a/cmake/scripts/common/Platform.cmake b/cmake/scripts/common/Platform.cmake
+index 397d8d46e8..a1d0830bf3 100644
+--- a/cmake/scripts/common/Platform.cmake
++++ b/cmake/scripts/common/Platform.cmake
+@@ -8,7 +8,9 @@ if(CORE_SYSTEM_NAME STREQUAL linux OR CORE_SYSTEM_NAME STREQUAL freebsd)
+ set(_DEFAULT_PLATFORM X11 WAYLAND GBM)
+
+ if(NOT APP_RENDER_SYSTEM)
+- message(SEND_ERROR "You need to decide whether you want to use GL- or GLES-based rendering. Please set APP_RENDER_SYSTEM to either \"gl\" or \"gles\". For normal desktop systems, you will usually want to use \"gl\".")
++ #message(SEND_ERROR "You need to decide whether you want to use GL- or GLES-based rendering. Please set APP_RENDER_SYSTEM to either \"gl\" or \"gles\". For normal desktop systems, you will usually want to use \"gl\".")
++ # Don't make stupid remarks and just make it work then..?
++ set(APP_RENDER_SYSTEM "gl")
+ endif()
+ else()
+ string(TOLOWER ${CORE_SYSTEM_NAME} _DEFAULT_PLATFORM)