Re: [cmake-developers] Proposed change to behavior of find_program

2014-12-22 Thread Brad King
On 12/19/2014 06:25 PM, Thompson, KT wrote: Hmm. It looks my original proposal breaks some backward compatibility. [snip] @@ -1148,13 +1148,13 @@ bool SystemTools::FileExists(const kwsys_stl::string filename) [snip] - return access(filename.c_str(), R_OK) == 0; + return

[cmake-developers] Proposed change to behavior of find_program

2014-12-19 Thread Thompson, KT
CMake developers, I am proposing a small change to SystemTools.cxx to address a problem I have on multiple systems. I need find_program to return the path to an executable file that is not marked with the read permission bit, but is marked with the execute bit (e.g.: chmod 111 file). On

Re: [cmake-developers] Proposed change to behavior of find_program

2014-12-19 Thread Thompson, KT
: Friday, December 19, 2014 3:46 PM To: cmake-developers@cmake.org Subject: [cmake-developers] Proposed change to behavior of find_program CMake developers, I am proposing a small change to SystemTools.cxx to address a problem I have on multiple systems. I need find_program to return the path