The below command will generate a my-targets-build-tree.cmake However, it will have absolute paths for the IMPORTED_LOCATION_RELEASE field for all targets.
ex