mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
3af0438b4b
GCC 8.1.0 now gives an error if `strncpy` is called with a bound depending on the length of the source argument. Replace `strncpy` with `strcpy` as the length is known a priori. Fixes: #18038