CMake/Tests/RunCMake/find_library
Brad King 6f5aede716 find_library: Skip 'lib => lib<arch>' searches if one symlinks the other
The `FIND_LIBRARY_USE_LIB<arch>_PATHS` global properties ask
`find_library` to look in `lib<arch>` directories automatically before
corresponding `lib` directories.  However, if `lib<arch>` is just a
symlink to `lib` (or vice-versa) then we should skip adding the
`lib<arch>` path.  Such symlinks typically only exist to satisfy
software that expects the `lib<arch>` path to be available.

Fixes: #16687
2017-02-28 14:56:54 -05:00
..
lib Teach find_(library|file|path) to get prefixes from PATH (#15370) 2015-02-19 10:03:17 -05:00
CMakeLists.txt find_library: Fix repeat call after changing directory content (#15293) 2014-12-08 15:35:50 -05:00
Created-stderr.txt find_library: Fix repeat call after changing directory content (#15293) 2014-12-08 15:35:50 -05:00
Created.cmake find_library: Fix repeat call after changing directory content (#15293) 2014-12-08 15:35:50 -05:00
LibArchLink-stderr.txt find_library: Skip 'lib => lib<arch>' searches if one symlinks the other 2017-02-28 14:56:54 -05:00
LibArchLink.cmake find_library: Skip 'lib => lib<arch>' searches if one symlinks the other 2017-02-28 14:56:54 -05:00
PrefixInPATH-stdout.txt Teach find_(library|file|path) to get prefixes from PATH (#15370) 2015-02-19 10:03:17 -05:00
PrefixInPATH.cmake Teach find_(library|file|path) to get prefixes from PATH (#15370) 2015-02-19 10:03:17 -05:00
RunCMakeTest.cmake find_library: Skip 'lib => lib<arch>' searches if one symlinks the other 2017-02-28 14:56:54 -05:00