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 <davidlt@rivosinc.com>
This commit is contained in:
parent
60bc4ee6c4
commit
5e7e294f72
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user