Just add a wee spacer on the mech, where the cable attaches- space it out about a quarter inch, changes the ratio slightly to match the old SRAM one. You can just use a wee washer stack and a longer bolt but that’s a bit messy.
(Shimano rather unsubtly pinched SRAM’s best features with 10-speed, but they used a slightly different ratio just so they could at least pretend that’s not what they were doing 😉 But the design of their mechs makes it simple to tweak)
It nearly works with no mods at all- some folks claim it works perfectly, but I think that’s just because they tolerate crap shifting- tried it and though it’s not right, it’s no worse than plenty of people’s bikes. But no reason to put up with that.