Skip to content

Commit 22b08fe

Browse files
committed
Update Wayland scanner commands
1 parent 080fb0c commit 22b08fe

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

external/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if(LINUX)
5050
add_custom_command(
5151
OUTPUT ${GENERATED_DIR}/relative-pointer-unstable-v1-client-protocol.h ${GENERATED_DIR}/relative-pointer-unstable-v1-client-protocol.c
5252
COMMAND wayland-scanner client-header ${UNSTABLE_PROTOCOLS_DIR}/relative-pointer/relative-pointer-unstable-v1.xml ${GENERATED_DIR}/relative-pointer-unstable-v1-client-protocol.h
53-
COMMAND wayland-scanner code ${UNSTABLE_PROTOCOLS_DIR}/relative-pointer/relative-pointer-unstable-v1.xml ${GENERATED_DIR}/relative-pointer-unstable-v1-client-protocol.c
53+
COMMAND wayland-scanner private-code ${UNSTABLE_PROTOCOLS_DIR}/relative-pointer/relative-pointer-unstable-v1.xml ${GENERATED_DIR}/relative-pointer-unstable-v1-client-protocol.c
5454
DEPENDS ${UNSTABLE_PROTOCOLS_DIR}/relative-pointer/relative-pointer-unstable-v1.xml
5555
COMMENT "Generating relative-pointer protocol files"
5656
)
@@ -59,16 +59,16 @@ if(LINUX)
5959
add_custom_command(
6060
OUTPUT ${GENERATED_DIR}/pointer-constraints-unstable-v1-client-protocol.h ${GENERATED_DIR}/pointer-constraints-unstable-v1-client-protocol.c
6161
COMMAND wayland-scanner client-header ${UNSTABLE_PROTOCOLS_DIR}/pointer-constraints/pointer-constraints-unstable-v1.xml ${GENERATED_DIR}/pointer-constraints-unstable-v1-client-protocol.h
62-
COMMAND wayland-scanner code ${UNSTABLE_PROTOCOLS_DIR}/pointer-constraints/pointer-constraints-unstable-v1.xml ${GENERATED_DIR}/pointer-constraints-unstable-v1-client-protocol.c
62+
COMMAND wayland-scanner private-code ${UNSTABLE_PROTOCOLS_DIR}/pointer-constraints/pointer-constraints-unstable-v1.xml ${GENERATED_DIR}/pointer-constraints-unstable-v1-client-protocol.c
6363
DEPENDS ${UNSTABLE_PROTOCOLS_DIR}/pointer-constraints/pointer-constraints-unstable-v1.xml
6464
COMMENT "Generating pointer-constraints protocol files"
6565
)
6666

6767
add_custom_target(generate-protocol-files ALL
68-
DEPENDS
69-
${GENERATED_DIR}/relative-pointer-unstable-v1-client-protocol.h
68+
DEPENDS
69+
${GENERATED_DIR}/relative-pointer-unstable-v1-client-protocol.h
7070
${GENERATED_DIR}/relative-pointer-unstable-v1-client-protocol.c
71-
${GENERATED_DIR}/pointer-constraints-unstable-v1-client-protocol.h
71+
${GENERATED_DIR}/pointer-constraints-unstable-v1-client-protocol.h
7272
${GENERATED_DIR}/pointer-constraints-unstable-v1-client-protocol.c
7373
${GENERATED_DIR}/xdg-shell-client-protocol.h
7474
${GENERATED_DIR}/xdg-shell-protocol.c
@@ -77,7 +77,7 @@ if(LINUX)
7777
target_include_directories(Wayland INTERFACE ${GENERATED_DIR})
7878
add_dependencies(Wayland generate-protocol-files)
7979
endif()
80-
80+
8181
#=======================================================================
8282
# Direct3D12 Runtime
8383
#=======================================================================

0 commit comments

Comments
 (0)