mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
`find_program` internally uses `cmSystemTools::FileExists` which calls `access(R_OK)` instead of `access(X_OK)`. Use `cmSystemTools::IsFileExecutable` instead to fix this issue. An example of such a program is `sudo`. Fixes: #10468
8.4 KiB
8.4 KiB