Prevent running Qt's generator on files from this generator
This commit is contained in:
parent
ea924b7a3f
commit
9e11d805c1
|
@ -153,6 +153,9 @@ function(add_reflection_generator_invocation)
|
|||
VERBATIM
|
||||
)
|
||||
|
||||
# prevent Qt's code generator to be executed on the files generated by this code generator
|
||||
set_property(SOURCE "${OUTPUT_FILE}" PROPERTY SKIP_AUTOGEN ON)
|
||||
|
||||
# append the output file to lists specified via OUTPUT_LISTS
|
||||
if(ARGS_OUTPUT_LISTS)
|
||||
foreach(OUTPUT_LIST ${ARGS_OUTPUT_LISTS})
|
||||
|
|
Loading…
Reference in New Issue