mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Most Unix-like systems drops the SETUID/SETGID bits when a file changes, so after changing the RPATH, it is necessary to restore the original file mode.