[cmake-developers] [CMake] FIND_PROGRAM fails to find file without 'r' bit set

Vyacheslav Barinov v.barinov at samsung.com
Mon Jan 25 08:06:47 EST 2016


Hello,

I try to detect paths to some tools using CMake and got the following problem:
if the tool I try to check has 611 (-rw--x--x) rights FIND_PROGRAM reports the
file does not exists.

For instance my /bin/mount in Gentoo has such setup and therefore I can use it
from shell but can't detect it from CMakeLists.txt.

Is it bug or normal behavior for CMake?

Best Regards,
Vyacheslav Barinov


More information about the cmake-developers mailing list