From 29a6e683779aa14e90c51b5e0abd039338549d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabien=20P=C3=A9an?= Date: Sat, 10 Dec 2022 20:02:50 +0100 Subject: [PATCH] Link to LAPACK before BLAS --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 121fbaedc..71a410238 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -385,10 +385,10 @@ add_library(arpack ${arpackutil_STAT_SRCS} ${arpacksrc_STAT_SRCS} ${arpacksrc_IC target_link_libraries(arpack PUBLIC - $,,BLAS::BLAS>> $,,LAPACK::LAPACK>> - $ + $,,BLAS::BLAS>> $ + $ ) target_link_options(arpack PUBLIC "${EXTRA_LDFLAGS}") set_target_properties(arpack PROPERTIES OUTPUT_NAME arpack${LIBSUFFIX}${ITF64SUFFIX})