If you are using TurboTax Online, when you are in your return, click on 2024 Tax return (on the left side menu), and click on Personal Info // Canadian citizenship, 2nd question is "Do you authorize the CRA to share your information with Elections Canada to update the National Register of Electors?".
Thank you for choosing TurboTax