summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h
diff options
context:
space:
mode:
authorEisuke Kawashima <15070-e-kwsm@users.noreply.gitlab.kitware.com>2022-07-05 22:53:47 (GMT)
committerBrad King <brad.king@kitware.com>2022-07-06 17:58:47 (GMT)
commit28d52a43fc1f69cfff9f87d167b897f13ec60fe2 (patch)
tree985c7661aa3def27169858b50a7ae5b399b992aa /Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h
parent7b43112beeacb5ee89efcf819fb49a1d0679922d (diff)
downloadCMake-28d52a43fc1f69cfff9f87d167b897f13ec60fe2.zip
CMake-28d52a43fc1f69cfff9f87d167b897f13ec60fe2.tar.gz
CMake-28d52a43fc1f69cfff9f87d167b897f13ec60fe2.tar.bz2
FindLAPACK: Add '-fortranlibs' flag only with NVHPC/PGI compilers
Since commit 2c9e623e31 (Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK library, 2021-05-05, v3.21.0-rc1~192^2) we try the `-fortranlibs` option as a dependency of the NVHPC LAPACK. That flag is specific to the NVHPC/PGI compilers, so use it conditionally with them. Without this modification, CMake fails to find LAPACK if - compiler ID is GNU - `BLA_STATIC` is `ON` - `BLA_VENDOR` is not defined or set to `All` Fixes: #23705, #22878
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions