Skip to content

Commit 2a137f9

Browse files
committed
openblas
1 parent 8f71881 commit 2a137f9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

highs/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,7 @@ else()
194194
target_compile_definitions(highs PRIVATE HIPO_USES_OPENBLAS)
195195
else()
196196
# LINUX
197-
if(OpenBLAS_FOUND)
198-
target_link_libraries(highs OpenBLAS::OpenBLAS)
199-
target_compile_definitions(highs PRIVATE HIPO_USES_OPENBLAS)
200-
elseif(OPENBLAS_LIB)
197+
if(OpenBLAS_FOUND OR OPENBLAS_LIB)
201198
target_link_libraries(highs "${OPENBLAS_LIB}")
202199
target_compile_definitions(highs PRIVATE HIPO_USES_OPENBLAS)
203200
elseif(BLAS_LIB)

0 commit comments

Comments
 (0)