diff options
Diffstat (limited to 'cmake/platform/linux/wayland.cmake')
| -rw-r--r-- | cmake/platform/linux/wayland.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/platform/linux/wayland.cmake b/cmake/platform/linux/wayland.cmake index f42dbf5..97cff67 100644 --- a/cmake/platform/linux/wayland.cmake +++ b/cmake/platform/linux/wayland.cmake | |||
| @@ -15,5 +15,7 @@ endif() | |||
| 15 | 15 | ||
| 16 | set(PLATFORM_GLOBAL_TARGET_DEPS generate-wayland-extra-protocols) | 16 | set(PLATFORM_GLOBAL_TARGET_DEPS generate-wayland-extra-protocols) |
| 17 | set(WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}") | 17 | set(WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}") |
| 18 | # WL_EGL_PLATFORM is needed by eglplatform.h in case it is included before wayland-egl.h | ||
| 19 | list(APPEND PLATFORM_DEFINES -DWL_EGL_PLATFORM=1 -DPLATFORM_SETTINGS_FILE=wayland.xml) | ||
| 18 | # for wayland-extra-protocols.hpp | 20 | # for wayland-extra-protocols.hpp |
| 19 | include_directories("${WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR}") | 21 | include_directories("${WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR}") |
