diff options
author | Brad King <brad.king@kitware.com> | 2017-03-01 16:55:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-02 13:35:48 (GMT) |
commit | c3fb650c85a01f1a31f3f56f5ae630d4e6c6e98d (patch) | |
tree | 2c41d5d4602d242dfa40fe75181716e7b119aab9 /Tests/QtAutogen/bar.cpp | |
parent | b1a37362b87c24d409f4037cd59c33056468c11b (diff) | |
download | CMake-c3fb650c85a01f1a31f3f56f5ae630d4e6c6e98d.zip CMake-c3fb650c85a01f1a31f3f56f5ae630d4e6c6e98d.tar.gz CMake-c3fb650c85a01f1a31f3f56f5ae630d4e6c6e98d.tar.bz2 |
cmOrderDirectories: Consider symlinks when checking implicit directories
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
Diffstat (limited to 'Tests/QtAutogen/bar.cpp')
0 files changed, 0 insertions, 0 deletions