From 87c2fd24fefa7371c8fe3f969aaf4315eec530bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Mon, 6 Jun 2022 12:07:25 +0300 Subject: [PATCH] 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. --- qpms/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qpms/CMakeLists.txt b/qpms/CMakeLists.txt index 01284bd..df93616 100644 --- a/qpms/CMakeLists.txt +++ b/qpms/CMakeLists.txt @@ -23,9 +23,9 @@ set(LIBS ${LIBS} ${GSL_LIBRARIES} ${GSLCBLAS_LIBRARIES}) target_link_libraries (qpms - gsl - lapack - blas + ${GSL_LIBRARIES} + ${LAPACK_LIBRARIES} + ${BLAS_LIBRARIES} ${QPMS_AMOSLIB} Faddeeva )