In Clion under Setting > Build,Execution, Deployment > Toolchains
did you set up the WSL Environment?
Another thing you can try is to use the latest EOS release instead of dawn-v4.2.0 that worked for me or if that doesn’t work either you can try a VM with Linux.