summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPI.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-26 10:33:16 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-29 11:50:47 (GMT)
commitf2c903fb9a02b129c6673385363f2a99f2f153ce (patch)
treed8c203b97395da6ef70d4e5d0bd3c84cb1a7d08a /Source/cmFileAPI.cxx
parente66fe75792a2fbe9f3ffe237c748008906ae7116 (diff)
downloadCMake-f2c903fb9a02b129c6673385363f2a99f2f153ce.zip
CMake-f2c903fb9a02b129c6673385363f2a99f2f153ce.tar.gz
CMake-f2c903fb9a02b129c6673385363f2a99f2f153ce.tar.bz2
find_library: Check that library files are readable
Refactoring in commit 6b85166920 (ENH: Refactor find_library search logic, 2008-09-22, v2.8.0~1665) dropped a call to `FileExists` on the path under the assumption that the presence of a file in a directory listing means it exists. However, dropping that also dropped a check that verifies the file is readable. Restore the `FileExists` call to ensure that we only find readable libraries.
Diffstat (limited to 'Source/cmFileAPI.cxx')
0 files changed, 0 insertions, 0 deletions