Clean up CMakeLists.txt (remove duplicate entries)

2 jobs for master
Status Job ID Name Coverage
  Build
canceled #86336
build_clazy_clang_tidy

canceled #86335
linux kf5-qt5 qt5.15