Fix ninja builds
Without this, ninja fails to regenerate at times: https://gitlab.kitware.com/cmake/cmake/-/issues/21977 It happens because we fail to transfer to the replaced file the properties that the different macros have set to the original.
Please register or sign in to comment