Merge branch 'feature/jorgen.lind/update_2.4' into '2.4'

Guard using generator expressions in ExternalProject_add

See merge request !637
9 jobs for !637 with feature/jorgen.lind/update_2.4 into 2.4 in 59 minutes and 2 seconds (queued for 2 minutes and 59 seconds)
latest