mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Wayland: Fix indentation
This commit is contained in:
parent
a62a6c5019
commit
420b165bff
|
@ -50,18 +50,18 @@ if (_GLFW_WAYLAND)
|
||||||
pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
|
pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
|
||||||
|
|
||||||
macro(wayland_generate protocol_file output_file)
|
macro(wayland_generate protocol_file output_file)
|
||||||
add_custom_command(OUTPUT "${output_file}.h"
|
add_custom_command(OUTPUT "${output_file}.h"
|
||||||
COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" client-header "${protocol_file}" "${output_file}.h"
|
COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" client-header "${protocol_file}" "${output_file}.h"
|
||||||
DEPENDS "${protocol_file}"
|
DEPENDS "${protocol_file}"
|
||||||
VERBATIM)
|
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 "${protocol_file}" "${output_file}.c"
|
COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" private-code "${protocol_file}" "${output_file}.c"
|
||||||
DEPENDS "${protocol_file}"
|
DEPENDS "${protocol_file}"
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
|
|
||||||
list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.c")
|
list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.c")
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
set(GLFW_WAYLAND_PROTOCOL_SOURCES)
|
set(GLFW_WAYLAND_PROTOCOL_SOURCES)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user