CMakeConfig: Replaced dependency list by HashSet

1 job for richter-dev in 2 minutes and 45 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Linux
passed BranchJobLinux #152759

00:02:45

77.0%