summaryrefslogtreecommitdiffstats
path: root/cmake/platform/linux/wayland.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platform/linux/wayland.cmake')
-rw-r--r--cmake/platform/linux/wayland.cmake2
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
16set(PLATFORM_GLOBAL_TARGET_DEPS generate-wayland-extra-protocols) 16set(PLATFORM_GLOBAL_TARGET_DEPS generate-wayland-extra-protocols)
17set(WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}") 17set(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
19list(APPEND PLATFORM_DEFINES -DWL_EGL_PLATFORM=1 -DPLATFORM_SETTINGS_FILE=wayland.xml)
18# for wayland-extra-protocols.hpp 20# for wayland-extra-protocols.hpp
19include_directories("${WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR}") 21include_directories("${WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR}")