mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 15:44:35 +00:00
Wayland: Ensure paths are passed on in quoted form
This commit is contained in:
parent
a6f8cc9d44
commit
d5f32dfb3b
@ -53,13 +53,16 @@ if (_GLFW_WAYLAND)
|
|||||||
add_custom_command(OUTPUT "${output_file}.h"
|
add_custom_command(OUTPUT "${output_file}.h"
|
||||||
COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" client-header
|
COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" client-header
|
||||||
< "${protocol_file}" > "${output_file}.h"
|
< "${protocol_file}" > "${output_file}.h"
|
||||||
DEPENDS "${protocol_file}")
|
DEPENDS "${protocol_file}"
|
||||||
|
VERBATIM)
|
||||||
list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.h)"
|
list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.h)"
|
||||||
|
|
||||||
add_custom_command(OUTPUT "${output_file}.c"
|
add_custom_command(OUTPUT "${output_file}.c"
|
||||||
COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" private-code
|
COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" private-code
|
||||||
< "${protocol_file}" > "${output_file}.c"
|
< "${protocol_file}" > "${output_file}.c"
|
||||||
DEPENDS "${protocol_file}")
|
DEPENDS "${protocol_file}"
|
||||||
|
VERBATIM)
|
||||||
|
|
||||||
list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.c")
|
list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.c")
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user