Hi Cedric,
FIND_PACKAGE(BLAS)
> FIND_PACKAGE(LAPACK)
>
> # I should test with BLAS_FOUND and LAPACK_FOUND here but that's not the
> problem
>
If they're actually required then you can skip the additional check by
calling:
FIND_PACKAGE(BLAS REQUIRED)
FIND_PACKAGE(LAPACK REQUIRED)
This will cause
I'm afraid you're right. :-/
It works fine now.
Thank you very much Eric!
- Mail original -
> De: "Eric Noulard"
> À: "Cedric Doucet"
> Cc: cmake@cmake.org
> Envoyé: Mercredi 22 Juillet 2015 14:31:22
> Objet: Re: [CMake] Linking error
2015-07-22 14:24 GMT+02:00 Cedric Doucet :
>
> Hello,
>
> I try to use the find_package function to find BLAS and LAPACK libraries
> which are required in my code.
>
> To do that, I do the following:
>
> ==
> FIND_PACKAGE(BLAS)
> FIND_PACKAGE(LAPACK)
>
> # I should test with BL
Hello,
I try to use the find_package function to find BLAS and LAPACK libraries which
are required in my code.
To do that, I do the following:
==
FIND_PACKAGE(BLAS)
FIND_PACKAGE(LAPACK)
# I should test with BLAS_FOUND and LAPACK_FOUND here but that's not the
problem