diff options
author | Yuriy Khokhulya <yuriy.khokhulya@apostera.com> | 2017-05-11 20:46:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-12 13:21:21 (GMT) |
commit | 2e293c39da969cc0c39503e1fef6310b4ef85d85 (patch) | |
tree | 8e329d694f22598ee11909856bd507b4958d4826 /Tests/Qt4Deploy | |
parent | 8e2f3582eb9cf75c78fbe8232cdacce2357f7efc (diff) | |
download | CMake-2e293c39da969cc0c39503e1fef6310b4ef85d85.zip CMake-2e293c39da969cc0c39503e1fef6310b4ef85d85.tar.gz CMake-2e293c39da969cc0c39503e1fef6310b4ef85d85.tar.bz2 |
FindPkgConfig: Fix pkg_check_modules() non-standard location search
During search of the library file `pkg_check_modules()` attempts to find
it in last specified library path in `${_prefix}_LDFLAGS`, that after
dependency resolving contains path to standard location.
So in case when `${_prefix}_LDFLAGS` has:
-L/prefix;-L/usr/local/lib;-llibrary_from_prefix;-ldependency
`library_from_prefix` will not be found.
As solution need try to find the library in all paths preceding to the
library.
Fixes: #16873
Diffstat (limited to 'Tests/Qt4Deploy')
0 files changed, 0 insertions, 0 deletions