# CMAKE_AUTOGEN_ORIGIN_DEPENDS

Added in version 3.14.

Switch for forwarding origin target dependencies to the corresponding The <ORIGIN>_autogen target targets.

> Note

> If Qt 5.15 or later is used and the generator is either `Ninja` or Makefile Generators, additional target dependencies are added to the The <ORIGIN>_autogen_timestamp_deps target target instead of the The <ORIGIN>_autogen target target.

This variable is used to initialize the `AUTOGEN_ORIGIN_DEPENDS` property on all the targets. See that target property for additional information.

By default `CMAKE_AUTOGEN_ORIGIN_DEPENDS` is `ON`.