..or, even better: Generate the custom QT_USE_FILE from the official one? See https://github.com/Eyescale/Buildyard/blob/master/CMake/UseExternalGitClone.cmake for an example.