cmake --find-package mode broken on imported targets since CMake 3.9.0
EDIT: This was originally a feature request that was later incorrectly determined to be a report of a regression from 3.8 to 3.9. By the time the mistake was discovered too many updates and references to this issue had been made with that assumption, so we converted the issue to the actual regression that did exist. The original feature request has been moved to #17236.
Changes in !829 (merged) broke
cmake --find-package mode for packages that define imported targets by dropping commands like