SethMMorton/cmake_fortran_template

LAPACK issues

Devoev opened this issue · 1 comments

I can't get LAPACK to work with the template. I enabled the
INCLUDE(${CMAKE_MODULE_PATH}/SetUpLAPACK.cmake)
line, and managed to get rid of the errors, so I think Cmake can find LAPACK. But I always get the error, that 'dgesv' (a lapack function) is an undefined reference. Do I have to enable any other settings or modify the compiler flags?
I'm using the MSYS2 LAPACK installation and it works fine from the command line.