diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2018-04-24 17:23:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-04-24 17:49:20 (GMT) |
commit | 7d756f37cc0dcd3dfff1c8524db5943af023cff8 (patch) | |
tree | fe80fa869c9f39a1a09392948bba877acbd4ceb8 /Modules/CheckVariableExists.cmake | |
parent | 946846aaf5f2f29c27769a5be0021d21ec2ae542 (diff) | |
download | CMake-7d756f37cc0dcd3dfff1c8524db5943af023cff8.zip CMake-7d756f37cc0dcd3dfff1c8524db5943af023cff8.tar.gz CMake-7d756f37cc0dcd3dfff1c8524db5943af023cff8.tar.bz2 |
FindBLAS: do not write an imported target name into BLAS_LIBRARIES
Since commit v3.11.0-rc1~177^2 (FindBLAS: optionally query pkg-config
for a library, 2017-12-15) the `BLAS_LIBRARIES` result variable may
incorrectly contain the name of an imported target. Instead store the
list of libraries in the variable. Unfortunately pkg_check_modules does
not provide a way to get this so we need to use a (temporary) hack of
reading `INTERFACE_LINK_LIBRARIES` from the interface library target.
Fixes: #17934
Diffstat (limited to 'Modules/CheckVariableExists.cmake')
0 files changed, 0 insertions, 0 deletions