mirror of https://github.com/encounter/SDL.git
cmake: Minor cleanup (reuse a string we already calculated).
This commit is contained in:
parent
73c26c204c
commit
32d421d490
|
@ -610,7 +610,7 @@ macro(WaylandProtocolGen _SCANNER _XML _PROTL)
|
||||||
ARGS code "${_XML}" "${_WAYLAND_PROT_C_CODE}"
|
ARGS code "${_XML}" "${_WAYLAND_PROT_C_CODE}"
|
||||||
)
|
)
|
||||||
|
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} "${CMAKE_CURRENT_BINARY_DIR}/wayland-generated-protocols/${_PROTL}-protocol.c")
|
set(SOURCE_FILES ${SOURCE_FILES} "${_WAYLAND_PROT_C_CODE}")
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
# Requires:
|
# Requires:
|
||||||
|
|
Loading…
Reference in New Issue