_autogen "targets" setting the folder property

Running CMake 4.3 + Qt 6.11 and Im running into a problem with folders.

I already have a function that starts at the CMAKE_SOURCE_DIR finds every subdirectory via the SUBDIRECTORIES property, and sets the folder property appropriately.

However, there are a number of targets that seem to not be associated with a directory. _autogen is the primary one.

When I try to explicitly set the folder for the target, cmake reports an error that the target does not exist.

I run the function, and explicit call to set the property in a DEFER call on CMAKE_SOURCE_DIR and it runs last.

Is there anyway to set the folder on the _autogen targets?