cmake: Minor cleanup (reuse a string we already calculated).

This commit is contained in:
Ryan C. Gordon 2018-02-07 13:07:59 -05:00
parent 73c26c204c
commit 32d421d490

View File

@ -610,7 +610,7 @@ macro(WaylandProtocolGen _SCANNER _XML _PROTL)
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()
# Requires: