Skip to content

Commit

Permalink
Merge pull request #13376 from pkerling/wayland-xdg_shell-waylandpp
Browse files Browse the repository at this point in the history
[wayland] Use xdg-shell.xml from waylandpp
  • Loading branch information
wsnipex committed Jan 16, 2018
2 parents 18f76ab + 27a2e3d commit 85167dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/platform/linux/wayland.cmake
@@ -1,4 +1,4 @@
set(PLATFORM_REQUIRED_DEPS EGL WaylandProtocols>=1.12 Waylandpp>=0.2.2 LibDRM Xkbcommon>=0.4.1)
set(PLATFORM_REQUIRED_DEPS EGL WaylandProtocols>=1.7 Waylandpp>=0.2.2 LibDRM Xkbcommon>=0.4.1)
set(PLATFORM_OPTIONAL_DEPS VAAPI)

set(WAYLAND_RENDER_SYSTEM "" CACHE STRING "Render system to use with Wayland: \"gl\" or \"gles\"")
Expand Down
4 changes: 2 additions & 2 deletions cmake/scripts/linux/ExtraTargets.cmake
Expand Up @@ -18,7 +18,7 @@ if(CORE_PLATFORM_NAME_LC STREQUAL "wayland")
# This cannot go into wayland.cmake since it requires the Wayland dependencies
# to already be resolved
set(PROTOCOL_XMLS "${WAYLANDPP_PROTOCOLS_DIR}/presentation-time.xml"
"${WAYLAND_PROTOCOLS_DIR}/stable/xdg-shell/xdg-shell.xml"
"${WAYLANDPP_PROTOCOLS_DIR}/xdg-shell.xml"
"${WAYLAND_PROTOCOLS_DIR}/unstable/xdg-shell/xdg-shell-unstable-v6.xml"
"${WAYLAND_PROTOCOLS_DIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml")
add_custom_command(OUTPUT "${WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR}/wayland-extra-protocols.hpp" "${WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR}/wayland-extra-protocols.cpp"
Expand All @@ -28,4 +28,4 @@ if(CORE_PLATFORM_NAME_LC STREQUAL "wayland")

# Dummy target for dependencies
add_custom_target(generate-wayland-extra-protocols DEPENDS wayland-extra-protocols.hpp)
endif()
endif()

0 comments on commit 85167dc

Please sign in to comment.