Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/milk-org/milk into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
oguyon committed Nov 12, 2023
2 parents 1c4aa0e + 31bc5d1 commit d042356
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions plugins/milk-extra-src/linalgebra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ target_link_libraries(${LIBNAME} PUBLIC ${MKL_LIBRARIES})
target_compile_options(${LIBNAME} PUBLIC -DHAVE_MKL ${MKL_CFLAGS_OTHER})
endif()


if(NOT MKL_FOUND) # Need to link against actual LAPACKE
message("-- MKL NOT FOUND")
message(" LINKING LAPACKE")
target_link_libraries(${LIBNAME} PRIVATE lapacke)
endif()

target_link_libraries(${LIBNAME} PRIVATE CLIcore)

Expand All @@ -151,4 +155,4 @@ message("---------------------------------------")

install(TARGETS ${LIBNAME} DESTINATION lib)
install(FILES ${INCLUDEFILES} DESTINATION include/${SRCNAME})
install(PROGRAMS ${SCRIPTS} DESTINATION bin)
install(PROGRAMS ${SCRIPTS} DESTINATION bin)

0 comments on commit d042356

Please sign in to comment.