CMAKE_AUTOGEN_ORIGIN_DEPENDS — CMake 4.3.0 Documentation

# CMAKE_AUTOGEN_ORIGIN_DEPENDS

Added in version 3.14.

Switch for forwarding origin target dependencies to the corresponding <ORIGIN>_autogen 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 <ORIGIN>_autogen_timestamp_deps target instead of the <ORIGIN>_autogen 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`.