CNIL doesn't process any personal information when you're just visiting the website, so they don't need to ask for your consent. This is not a request for consent. This is like the older "Cookie Law" popup, where they give you the ability, if you shall choose, to refuse the social features so you're not loading third-party cookies.
Also, as the decision regarding Vectaury[0] shows, CNIL considers that it's up to every platform to explicitly ask for your consent before processing your personal information. So it'd be up to Facebook or Twitter to present you the opt-in feature, in case you're not connected to their platform yet.
CNIL does ask for your consent if you want to contact them and you're filling the contact form. They provide a link[1] to the complete list of required information : content stored, processes done, who will see the data, for how long, and who to contact to object.
[0] https://twitter.com/robinberjon/status/1063549722613432320
[1] https://www.cnil.fr/fr/donnees-personnelles/plaintes-en-lign... (in French)