Use detected libraries in CMakeLists.txt instead of hardcoded ones.

Should fix some issues while building/linking libqpms.so;
still needs to be somehow done in the Python part as well.
This commit is contained in:
Marek Nečada 2022-06-06 12:07:25 +03:00
parent aea0afee15
commit 87c2fd24fe
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ set(LIBS ${LIBS} ${GSL_LIBRARIES} ${GSLCBLAS_LIBRARIES})
target_link_libraries (qpms target_link_libraries (qpms
gsl ${GSL_LIBRARIES}
lapack ${LAPACK_LIBRARIES}
blas ${BLAS_LIBRARIES}
${QPMS_AMOSLIB} ${QPMS_AMOSLIB}
Faddeeva Faddeeva
) )