Cleanup CMakeLists.txt files

3 jobs for cmake-cleanup in 7 minutes and 48 seconds
latest
Status Job ID Name Coverage
  Build
passed #24734
conda linux
build-linux

00:06:13

passed #24735
conda win
build-win

00:05:43

 
  Deploy
manual #24736
conda linux allowed to fail manual
deploy_devel