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
1 changed files with 1 additions and 1 deletions

View File

@ -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: