How to target SM4 RHI

Hello i was wondering how i could build my game to run on Directx10 or opengl on 4.23.