cygwin: suppress cmake legacy warning