https://github.com/Kitware/CMake
Revision 6f5aede71642b05a351d5cf92e0c884ed9b4fd3c authored by Brad King on 28 February 2017, 18:51:35 UTC, committed by Brad King on 28 February 2017, 19:56:54 UTC
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
1 parent e67963e
History
Tip revision: 6f5aede71642b05a351d5cf92e0c884ed9b4fd3c authored by Brad King on 28 February 2017, 18:51:35 UTC
find_library: Skip 'lib => lib<arch>' searches if one symlinks the other
Tip revision: 6f5aede
File Mode Size
Auxiliary
Help
Licenses
Modules
Packaging
Source
Templates
Tests
Utilities
.clang-format -rw-r--r-- 217 bytes
.gitattributes -rw-r--r-- 658 bytes
.gitignore -rw-r--r-- 64 bytes
.hooks-config.bash -rw-r--r-- 435 bytes
CMakeCPack.cmake -rw-r--r-- 8.1 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 12.8 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 29.1 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CONTRIBUTING.rst -rw-r--r-- 1.7 KB
CTestConfig.cmake -rw-r--r-- 440 bytes
CTestCustom.cmake.in -rw-r--r-- 5.8 KB
CompileFlags.cmake -rw-r--r-- 2.9 KB
Copyright.txt -rw-r--r-- 4.8 KB
DartConfig.cmake -rw-r--r-- 374 bytes
README.rst -rw-r--r-- 2.9 KB
bootstrap -rwxr-xr-x 46.6 KB
cmake_uninstall.cmake.in -rw-r--r-- 790 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

README.rst

back to top