[cmake-developers] [PATCH] language detection in FindBLAS and FindLAPACK (#0016039)
Rolf Eike Beer
eike at sf-mail.de
Fri Apr 1 11:25:27 EDT 2016
Am Freitag, 1. April 2016, 16:20:10 schrieb Nils Gladitz:
> On 04/01/2016 02:44 PM, Melven.Roehrig-Zoellner at dlr.de wrote:
> > Patch for a problem with find_package(BLAS/LAPACK) on Windows for pure
> > Fortran projects reported by me in
> > https://cmake.org/Bug/view.php?id=16039.
> This might be a use case for the newish IN_LIST operator?
>
> e.g. if(Fortran IN_LIST _LANGUAGES_)
Why not simply:
if (CMAKE_Fortran_COMPILER_LOADED)
Greetings,
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160401/2fa664a7/attachment.sig>
More information about the cmake-developers
mailing list