https://github.com/Kitware/CMake
Revision c3fb650c85a01f1a31f3f56f5ae630d4e6c6e98d authored by Brad King on 01 March 2017, 16:55:51 UTC, committed by Brad King on 02 March 2017, 13:35:48 UTC
When checking whether a directory is "implicit" (e.g. implicit link directory or implicit rpath directory), resolve the real path of both sides of the comparison. Otherwise we will not recognize paths like `/usr/lib32` as implicit when `/usr/lib` is implicit and `lib32` is actually a symlink to `lib`. This can lead to addition of unnecessary entries to the RPATH of a binary, for example. Fixes: #16682
1 parent b1a3736
Tip revision: c3fb650c85a01f1a31f3f56f5ae630d4e6c6e98d authored by Brad King on 01 March 2017, 16:55:51 UTC
cmOrderDirectories: Consider symlinks when checking implicit directories
cmOrderDirectories: Consider symlinks when checking implicit directories
Tip revision: c3fb650
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 |
Computing file changes ...