Cygwin: Apply patches from downstream CMake package

Factored out of cmake/cmake!5092 (merged).

Based on downstream patches from Cygwin package for CMake by Marco Atzeri.

Edited by Brad King

Merge request reports

Loading