Commit 4b71d5eaf0fe introduced a porting change of the configuration for the icaldir resource. The settingsdialog.ui file was renamed, but the reference from the CMake script remained causing a build failure.
Fix this by removing the line as it is now obsolete.
For some reason this did not trigger on CI, but it definitely fails on a clean build on my local machine.