mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-11 03:50:43 -05:00
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2020-04-09 (e798e567)
This commit is contained in:
@@ -3010,7 +3010,11 @@ bool SystemTools::FileIsDirectory(const std::string& inName)
|
||||
|
||||
bool SystemTools::FileIsExecutable(const std::string& name)
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
return SystemTools::FileExists(name, true);
|
||||
#else
|
||||
return !FileIsDirectory(name) && TestFileAccess(name, TEST_FILE_EXECUTE);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool SystemTools::FileIsSymlink(const std::string& name)
|
||||
|
||||
Reference in New Issue
Block a user