Merge branch 'cmake-msvc-fixes' into 'master'

cmake: do not use gcc specific warning when building with msvc

See merge request !245
11 jobs for master in 16 minutes and 16 seconds (queued for 5 seconds)