From 5e7e294f729d261ace806eb0041b6901665276a6 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 22 Nov 2024 12:57:42 +0200 Subject: [PATCH] Change BLAS from INTERFACE to PRIVATE Compiling soplex: gmake[2]: *** No rule to make target '/usr/lib64/libopenblas.so', needed by 'lib/libsoplex.so.7.1.1.0'. Stop. In papilo usr/lib64/cmake/papilo/papilo-targets.cmake INTERFACE_LINK_LIBRARIES incl. /usr/lib64/libopenblas.so Signed-off-by: David Abdurachmanov --- papilo-unbundle.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/papilo-unbundle.patch b/papilo-unbundle.patch index 0c59dc0..4876133 100644 --- a/papilo-unbundle.patch +++ b/papilo-unbundle.patch @@ -30,7 +30,7 @@ index 2408b54..2e204b6 100644 + set(CLUSOL_TARGET "") + find_package(BLAS) + if(BLAS_FOUND) -+ target_link_libraries(papilo INTERFACE ${BLAS_LIBRARIES}) ++ target_link_libraries(papilo PRIVATE ${BLAS_LIBRARIES}) + endif() else() set(PAPILO_HAVE_LUSOL 0)