cmake: add back dependency on its input of re2c gnerated file (#308)

Small fix-up of #307
This commit is contained in:
Anonymous Maarten 2026-07-22 03:48:06 +02:00 committed by GitHub
parent 5062329be0
commit 8fea7b9c50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,6 +69,7 @@ macro (YASM_RE2C _in_NAME _out_NAME)
add_custom_command(
OUTPUT ${_out_NAME}
COMMAND yasm::re2c ${ARGN} -o ${_out_NAME} ${_in_NAME}
MAIN_DEPENDENCY ${_in_NAME}
)
endmacro (YASM_RE2C)