CMAKE_UNITY_BUILD and compiled QML files - anonymous namespace collisions

I feel a little silly now. I can confirm this is not an issue with the latest version of Qt that I tried: 6.2.4. I have to support Qt5.6 and Qt 6.2.x so this issue with Qt5.6 prevents me from taking advantage. That is, unless there is a way to prevent unity builds for entire targets. So far I’ve only seen the ability to change individual source file properties to have them get skipped in the unity build - e.g.

set_source_files_properties(FileImporter.cpp ImportLegacyYBFileWatcher.cpp PROPERTIES
    SKIP_UNITY_BUILD_INCLUSION TRUE
    )