Adding Curl library with Fetchcontent

This is what the error says and as far as I can tell the only simple way to resolve it is to use INTERFACE keyword:

Error