summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Levin <dendy.ua@gmail.com>2023-10-31 08:52:32 +0000
committerDennis Tsiang <dennis.tsiang@arm.com>2023-10-31 08:52:32 +0000
commitb1621015c71a4450deb4a9d1bdf24c7649253ad9 (patch)
tree5ecf9fa1d944d6a1b4678400b9eb1740bcbd0b39
parent35f74ee41abf4672da7fb1c6b1dce5a3d8138f5d (diff)
downloadvulkan-wsi-layer-b1621015c71a4450deb4a9d1bdf24c7649253ad9.tar.gz
vulkan-wsi-layer-b1621015c71a4450deb4a9d1bdf24c7649253ad9.tar.bz2
vulkan-wsi-layer-b1621015c71a4450deb4a9d1bdf24c7649253ad9.zip
Use wayland-scanner public-code
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1834434..b06897c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,13 +126,13 @@ if(BUILD_WSI_WAYLAND)
COMMAND ${WAYLAND_SCANNER_EXEC} client-header
${WAYLAND_PROTOCOLS_DIR}/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
${CMAKE_CURRENT_BINARY_DIR}/linux-dmabuf-unstable-v1-client-protocol.h
- COMMAND ${WAYLAND_SCANNER_EXEC} code
+ COMMAND ${WAYLAND_SCANNER_EXEC} public-code
${WAYLAND_PROTOCOLS_DIR}/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
${CMAKE_CURRENT_BINARY_DIR}/linux-dmabuf-unstable-v1-protocol.c
COMMAND ${WAYLAND_SCANNER_EXEC} client-header
${WAYLAND_PROTOCOLS_DIR}/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml
${CMAKE_CURRENT_BINARY_DIR}/linux-explicit-synchronization-unstable-v1-protocol.h
- COMMAND ${WAYLAND_SCANNER_EXEC} code
+ COMMAND ${WAYLAND_SCANNER_EXEC} public-code
${WAYLAND_PROTOCOLS_DIR}/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml
${CMAKE_CURRENT_BINARY_DIR}/linux-explicit-synchronization-unstable-v1-protocol.c
BYPRODUCTS linux-dmabuf-unstable-v1-protocol.c linux-dmabuf-unstable-v1-client-protocol.h