We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6fd41f commit cb65faeCopy full SHA for cb65fae
highs/CMakeLists.txt
@@ -185,6 +185,12 @@ else()
185
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/highs/hipo/ipm>
186
)
187
target_link_libraries(highs BLAS::BLAS)
188
+ string(TOLOWER "${BLAS_LIBRARIES}" blas_lower)
189
+ if(blas_lower MATCHES "openblas")
190
+ target_compile_definitions(highs PRIVATE HIPO_USES_OPENBLAS)
191
+ elseif(blas_lower MATCHES "accelerate")
192
+ target_compile_definitions(highs PRIVATE HIPO_USES_APPLE_BLAS)
193
+ endif()
194
if(metis_FOUND)
195
target_link_libraries(highs metis)
196
else()
0 commit comments