diff options
author | Lukas Rusak <lorusak@gmail.com> | 2018-04-20 10:23:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 10:23:02 -0700 |
commit | 51df226a0e41d1da5bf2afae348b7835eed41fe1 (patch) | |
tree | 647cdf5446dcf0d9c048e2f331be82feac2b3f30 /cmake | |
parent | d94a7c10b5b2bff7b52e5f573f3b92f0538351b5 (diff) | |
parent | a1bb80111b3a43e8dac75a5035a41b0b4622e1eb (diff) |
Merge pull request #12506 from lrusak/opengles-limited
GLES: allow using limited color range
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/platform/linux/wayland.cmake | 1 | ||||
-rw-r--r-- | cmake/platform/linux/x11.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cmake/platform/linux/wayland.cmake b/cmake/platform/linux/wayland.cmake index f42dbf5e93..7ecc6a34df 100644 --- a/cmake/platform/linux/wayland.cmake +++ b/cmake/platform/linux/wayland.cmake @@ -15,5 +15,6 @@ endif() set(PLATFORM_GLOBAL_TARGET_DEPS generate-wayland-extra-protocols) set(WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}") +list(APPEND PLATFORM_DEFINES -DPLATFORM_SETTINGS_FILE=wayland.xml) # for wayland-extra-protocols.hpp include_directories("${WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR}") diff --git a/cmake/platform/linux/x11.cmake b/cmake/platform/linux/x11.cmake index 09cebde3db..72d9640766 100644 --- a/cmake/platform/linux/x11.cmake +++ b/cmake/platform/linux/x11.cmake @@ -1,3 +1,4 @@ set(PLATFORM_REQUIRED_DEPS OpenGl EGL X XRandR LibDRM) set(PLATFORM_OPTIONAL_DEPS VAAPI VDPAU GLX) set(APP_RENDER_SYSTEM gl) +list(APPEND PLATFORM_DEFINES -DPLATFORM_SETTINGS_FILE=x11.xml)
\ No newline at end of file |