diff options
author | Brad King <brad.king@kitware.com> | 2021-04-07 15:09:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-07 15:26:07 (GMT) |
commit | 9ef82d95d8bab39b354c09139c94a39d49aeab9d (patch) | |
tree | 2902866fd33db3ef4d9596a1e76c1fd609f085c4 /Modules/FindGTK.cmake | |
parent | f8af94a2124d61e33f71f67b4ae282475314da25 (diff) | |
download | CMake-9ef82d95d8bab39b354c09139c94a39d49aeab9d.zip CMake-9ef82d95d8bab39b354c09139c94a39d49aeab9d.tar.gz CMake-9ef82d95d8bab39b354c09139c94a39d49aeab9d.tar.bz2 |
FindBLAS: Fix detection of OpenMP as dependency of BLA_STATIC
Update the change from commit f7f3d8987a (FindBLAS: Add dependency of
OpenBLAS on OpenMP for BLA_STATIC, 2020-11-10, v3.20.0-rc1~492^2):
* If C is not enabled, find CXX OpenMP libraries instead.
* Do not use BLA_STATIC's custom CMAKE_FIND_LIBRARY_SUFFIXES for OpenMP.
It can break projects that already call `find_package(OpenMP)` and
expect a shared library. Whether OpenMP is static is orthogonal to
whether BLAS is static.
Fixes: #22039
Issue: #16221
Diffstat (limited to 'Modules/FindGTK.cmake')
0 files changed, 0 insertions, 0 deletions