I've asked Kitware to just implement multi-target-specification support for this and related CMake commands: This is now bug 27041. Perhaps they'll just make it happen at some point.